mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.
This commit is contained in:
@@ -65,7 +65,7 @@ namespace sdl
|
||||
msg.joystick.button = luaL_checkint(L, 3);
|
||||
return true;
|
||||
case Event::TYPE_FOCUS:
|
||||
msg.focus.f = lua_toboolean(L, 2);
|
||||
msg.focus.f = luax_toboolean(L, 2);
|
||||
return true;
|
||||
case Event::TYPE_QUIT:
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user