diff options
Diffstat (limited to '')
| -rw-r--r-- | src/3rdParty/lua/lvm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/3rdParty/lua/lvm.c b/src/3rdParty/lua/lvm.c index 614df05..73a19ba 100644 --- a/src/3rdParty/lua/lvm.c +++ b/src/3rdParty/lua/lvm.c | |||
| @@ -765,12 +765,10 @@ lua_Number luaV_modf (lua_State *L, lua_Number m, lua_Number n) { | |||
| 765 | /* number of bits in an integer */ | 765 | /* number of bits in an integer */ |
| 766 | #define NBITS cast_int(sizeof(lua_Integer) * CHAR_BIT) | 766 | #define NBITS cast_int(sizeof(lua_Integer) * CHAR_BIT) |
| 767 | 767 | ||
| 768 | |||
| 768 | /* | 769 | /* |
| 769 | ** Shift left operation. (Shift right just negates 'y'.) | 770 | ** Shift left operation. (Shift right just negates 'y'.) |
| 770 | */ | 771 | */ |
| 771 | #define luaV_shiftr(x,y) luaV_shiftl(x,intop(-, 0, y)) | ||
| 772 | |||
| 773 | |||
| 774 | lua_Integer luaV_shiftl (lua_Integer x, lua_Integer y) { | 772 | lua_Integer luaV_shiftl (lua_Integer x, lua_Integer y) { |
| 775 | if (y < 0) { /* shift right? */ | 773 | if (y < 0) { /* shift right? */ |
| 776 | if (y <= -NBITS) return 0; | 774 | if (y <= -NBITS) return 0; |
