Skip to content

Commit

Permalink
Use static_cast for LUAL_BUFFERSIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 13, 2021
1 parent cf98570 commit 01b2b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/luaconf.h
Expand Up @@ -731,7 +731,7 @@
/*
@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
*/
#define LUAL_BUFFERSIZE ((int)(16 * sizeof(void*) * sizeof(lua_Number)))
#define LUAL_BUFFERSIZE (static_cast<int>(16 * sizeof(void*) * sizeof(lua_Number)))


/*
Expand Down

0 comments on commit 01b2b45

Please sign in to comment.