diff options
| -rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.16 2005/06/13 14:15:54 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.17 2005/06/13 14:19:00 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -353,7 +353,7 @@ typedef struct Table { | |||
| 353 | ** `module' operation for hashing (size is always a power of 2) | 353 | ** `module' operation for hashing (size is always a power of 2) |
| 354 | */ | 354 | */ |
| 355 | #define lmod(s,size) \ | 355 | #define lmod(s,size) \ |
| 356 | check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))) | 356 | (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1))))) |
| 357 | 357 | ||
| 358 | 358 | ||
| 359 | #define twoto(x) (1<<(x)) | 359 | #define twoto(x) (1<<(x)) |
