diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-07-01 14:47:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-07-01 14:47:12 -0300 |
commit | 2de3361c6c795ec98274f4d8ea3e9d5280e06074 (patch) | |
tree | 1eb892eb0e299cb928cca1a6c43cc4411bb74a27 /ltests.c | |
parent | e89763e9640bf08982ac67888ea6474f1eeccd7c (diff) | |
download | lua-2de3361c6c795ec98274f4d8ea3e9d5280e06074.tar.gz lua-2de3361c6c795ec98274f4d8ea3e9d5280e06074.tar.bz2 lua-2de3361c6c795ec98274f4d8ea3e9d5280e06074.zip |
detail
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.205 2015/04/02 21:10:21 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.206 2015/06/18 14:25:26 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -911,7 +911,7 @@ static int doremote (lua_State *L) { | |||
911 | static int int2fb_aux (lua_State *L) { | 911 | static int int2fb_aux (lua_State *L) { |
912 | int b = luaO_int2fb((unsigned int)luaL_checkinteger(L, 1)); | 912 | int b = luaO_int2fb((unsigned int)luaL_checkinteger(L, 1)); |
913 | lua_pushinteger(L, b); | 913 | lua_pushinteger(L, b); |
914 | lua_pushinteger(L, luaO_fb2int(b)); | 914 | lua_pushinteger(L, (unsigned int)luaO_fb2int(b)); |
915 | return 2; | 915 | return 2; |
916 | } | 916 | } |
917 | 917 | ||