Fix VC 2010 compiler warning
This commit is contained in:
parent
6a04a82123
commit
3df3a7fb8e
@ -279,7 +279,7 @@ int process_option(lua_State* L, const char* arg)
|
||||
}
|
||||
|
||||
/* Make keys lowercase to avoid case issues */
|
||||
for (ptr = key; *ptr; ++ptr) { *ptr = tolower(*ptr); }
|
||||
for (ptr = key; *ptr; ++ptr) { *ptr = (char)tolower(*ptr); }
|
||||
|
||||
/* Store it in the Options table, which is already on the stack */
|
||||
lua_pushstring(L, value);
|
||||
|
Loading…
Reference in New Issue
Block a user