summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-15 06:38:46 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-15 06:38:46 +0000
commitb2dc4932bf9b5b77a2def58c80ccd93396b28b13 (patch)
treeed340b138673ce7cdfbbec0ebe340a36fe1f48cd /pack.c
parent693599714a16c085f912dcddde16f52a18d2858b (diff)
2000-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@691 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 757d841fcc..028bedd01b 100644
--- a/pack.c
+++ b/pack.c
@@ -1623,7 +1623,7 @@ pack_unpack(str, fmt)
case 'w':
{
unsigned long ul = 0;
- unsigned long ulmask = 0xfe << ((sizeof(unsigned long) - 1) * 8);
+ unsigned long ulmask = 0xfeL << ((sizeof(unsigned long) - 1) * 8);
while (len > 0 && s < send) {
ul <<= 7;