warning: converting to ‘int’ from ‘lua_Number'

This commit is contained in:
Glenn Maynard
2008-03-04 01:39:09 +00:00
parent cc120cbcff
commit abc07a63d4
+1 -1
View File
@@ -736,7 +736,7 @@ void BitmapText::Attribute::FromStack( lua_State *L, int iPos )
// Get the length.
lua_getfield( L, iTab, "Length" );
length = lua_tonumber( L, -1 );
length = lua_tointeger( L, -1 );
lua_settop( L, iTab );
// Get the diffuse colors.