diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-03 16:53:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-03 16:53:13 -0300 |
commit | a00013c8d0d268616e004715da499e88e03b534c (patch) | |
tree | 3b2db21dd21acbf821cddd6e53172f1b4eeb4a9e /llimits.h | |
parent | b9a1f27250efd0433b93d23b92da19566f9b78e1 (diff) | |
download | lua-a00013c8d0d268616e004715da499e88e03b534c.tar.gz lua-a00013c8d0d268616e004715da499e88e03b534c.tar.bz2 lua-a00013c8d0d268616e004715da499e88e03b534c.zip |
'point2int' -> 'point2uint' (to reflect its actual result type)
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 | ||