mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
693599714a
commit
b2dc4932bf
7 changed files with 26 additions and 8 deletions
2
pack.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue