aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-03 16:53:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-03 16:53:13 -0300
commita00013c8d0d268616e004715da499e88e03b534c (patch)
tree3b2db21dd21acbf821cddd6e53172f1b4eeb4a9e /llimits.h
parentb9a1f27250efd0433b93d23b92da19566f9b78e1 (diff)
downloadlua-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llimits.h b/llimits.h
index 348cd9a1..961ff53b 100644
--- a/llimits.h
+++ b/llimits.h
@@ -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