diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.130 2015/02/05 17:15:33 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.131 2015/02/09 15:41:56 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other 'installation-dependent' definitions | 3 | ** Limits, basic types, and some other 'installation-dependent' definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -52,11 +52,11 @@ typedef unsigned char lu_byte; | |||
52 | 52 | ||
53 | 53 | ||
54 | /* | 54 | /* |
55 | ** conversion of pointer to integer: | 55 | ** conversion of pointer to unsigned integer: |
56 | ** this is for hashing only; there is no problem if the integer | 56 | ** this is for hashing only; there is no problem if the integer |
57 | ** cannot hold the whole pointer value | 57 | ** cannot hold the whole pointer value |
58 | */ | 58 | */ |
59 | #define point2int(p) ((unsigned int)((size_t)(p) & UINT_MAX)) | 59 | #define point2uint(p) ((unsigned int)((size_t)(p) & UINT_MAX)) |
60 | 60 | ||
61 | 61 | ||
62 | 62 | ||