Commits

Bart van Strien  committed 87728c9

Fix msvc warnings

  • Participants
  • Parent commits 590d64d

Comments (0)

Files changed (1)

File src/love.cpp

 
 #endif // LOVE_LEGENDARY_LIBSTDCXX_HACK
 
-extern "C" LOVE_EXPORT int luaopen_love_boot(lua_State *L)
+extern "C" int luaopen_love_boot(lua_State *L)
 {
 	if (luaL_loadbuffer(L, (const char *)love::boot_lua, sizeof(love::boot_lua), "boot.lua") == 0)
 	lua_call(L, 0, 1);
 	
 	int retval = 0;
 	if (lua_isnumber(L, 1))
-		retval = lua_tonumber(L, 1);
+		retval = (int) lua_tonumber(L, 1);
 
 	lua_close(L);