Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.

This commit is contained in:
rude
2011-01-09 16:28:30 +01:00
parent c5eb50d0d5
commit 31c9995082
9 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -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;
}