Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
brinkqiang committed Apr 5, 2018
1 parent d340f76 commit f07d050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tolua/tolua_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/* Create metatable
* Create and register new metatable
*/
static int tolua_newmetatable( lua_State* L, char* name )
static int tolua_newmetatable( lua_State* L, const char* name )
{
int r = luaL_newmetatable( L, name );
#ifdef LUA_VERSION_NUM /* only lua 5.1 */
Expand Down

0 comments on commit f07d050

Please sign in to comment.