mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Avoid some VC++ compiler warnings
This commit is contained in:
@@ -110,7 +110,7 @@ int w_File_read(lua_State *L)
|
||||
File *file = luax_checkfile(L, 1);
|
||||
Data *d = 0;
|
||||
|
||||
int64 size = (int64)luaL_optnumber(L, 2, File::ALL);
|
||||
int64 size = (int64) luaL_optnumber(L, 2, (lua_Number) File::ALL);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user