summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-20 16:37:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-20 16:37:01 +0000
commit4098e5861e4a6dadf17e6502afbc139bcff3cd3b (patch)
tree46efc0ee553a8d4009758a4b18b4b52259923408 /pack.c
parent1b2d3f81ee00c3fc5f002aaf7a646ed08e605610 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 173c7d80ad..d06cec1c6f 100644
--- a/pack.c
+++ b/pack.c
@@ -308,7 +308,7 @@ endian()
typedef long I32;
typedef unsigned long U32;
#define NUM2I32(x) NUM2LONG(x)
-#define NUM2U32(x) NUM2LONG(x)
+#define NUM2U32(x) NUM2ULONG(x)
#elif SIZEOF_INT == SIZE32
typedef int I32;
typedef unsigned int U32;