diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-14 04:10:39 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-14 04:10:39 +0000 |
commit | c25084921670dfe33a0871ee7b94c102fea0ea3a (patch) | |
tree | f0df3bfdc54529ba5c345f5536f7164acf7746d4 /pack.c | |
parent | ae2fe781dd4aae16a2f03a4b9fb93514eb9886d4 (diff) |
prototypes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -322,7 +322,7 @@ pack_pack(ary, fmt) from = NEXTFROM; if (NIL_P(from)) l = 0; else { - l = NUM2UINT(from); + l = NUM2ULONG(from); } str_cat(res, (char*)&l, sizeof(long)); } @@ -349,7 +349,7 @@ pack_pack(ary, fmt) from = NEXTFROM; if (NIL_P(from)) l = 0; else { - l = NUM2UINT(from); + l = NUM2ULONG(from); } l = htonl(l); str_cat(res, (char*)&l, sizeof(long)); @@ -377,7 +377,7 @@ pack_pack(ary, fmt) from = NEXTFROM; if (NIL_P(from)) l = 0; else { - l = NUM2UINT(from); + l = NUM2ULONG(from); } l = htovl(l); str_cat(res, (char*)&l, sizeof(long)); |