From abc07a63d478700845b4f36328cdb5f286bdde7d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 4 Mar 2008 01:39:09 +0000 Subject: [PATCH] =?UTF-8?q?warning:=20converting=20to=20=E2=80=98int?= =?UTF-8?q?=E2=80=99=20from=20=E2=80=98lua=5FNumber'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stepmania/src/BitmapText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index c59f95ce58..70b76fa974 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -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.