mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.
This commit is contained in:
@@ -567,7 +567,7 @@ namespace physfs
|
||||
lua_pushstring(L, "Could not determine file modification date.");
|
||||
return 2;
|
||||
}
|
||||
lua_pushnumber(L, time);
|
||||
lua_pushnumber(L, static_cast<lua_Number>(time));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user