diff --git a/deps/lua/src/lobject.h b/deps/lua/src/lobject.h index 5a4506e580a9a08426a3e25fc81335e153ccff06..6e53e5a5fe656d740e0b5c3d5b56e5aeacd6abbb 100644 --- a/deps/lua/src/lobject.h +++ b/deps/lua/src/lobject.h @@ -356,7 +356,7 @@ typedef struct Table { (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1))))) -#define twoto(x) (1<<(x)) +#define twoto(x) (1<<(int64_t)(x)) #define sizenode(t) (twoto((int64_t)((t)->lsizenode)))