diff options
author | pixel <pixel> | 2008-09-23 16:29:11 +0000 |
---|---|---|
committer | pixel <pixel> | 2008-09-23 16:29:11 +0000 |
commit | 0407ac7fb3103b7c162575d204c1147ab0ffac10 (patch) | |
tree | 98699a7c3919fcd1813d03fb0625e1465bb33d54 /lib | |
parent | 23bfd2d061c11a136aee6c639dec88077fcf7864 (diff) |
Compiler bitching fix.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BLua.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index c96d53d..4642386 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.63 2008-08-20 11:05:40 pixel Exp $ */ +/* $Id: BLua.cc,v 1.64 2008-09-23 16:29:11 pixel Exp $ */ #include <stdlib.h> #include "BLua.h" @@ -925,7 +925,7 @@ void Lua::dumpvars_r(Handle * h, int i, int depth) throw (GeneralException) { while(lua_next(L, i) != 0) { if (lua_type(L, -2) == LUA_TSTRING) { - if (lua_tostring(L, -2) == String("_G")) { + if (String(lua_tostring(L, -2)) == String("_G")) { continue; } } |