mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix 2 compiler warnings
This commit is contained in:
@@ -110,7 +110,7 @@ namespace sdl
|
||||
|
||||
for (unsigned int i = 1; i < num; i++)
|
||||
{
|
||||
buttonlist[counter++] = luaL_checknumber(L, i+1);
|
||||
buttonlist[counter++] = (int) luaL_checknumber(L, i+1);
|
||||
}
|
||||
buttonlist[counter] = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user