mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bit
platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
77574f0fa2
commit
5199bf7529
1 changed files with 1 additions and 1 deletions
|
@ -1853,7 +1853,7 @@ gzfile_get32(src)
|
|||
n = *(src++) & 0xff;
|
||||
n |= (*(src++) & 0xff) << 8;
|
||||
n |= (*(src++) & 0xff) << 16;
|
||||
n |= (*(src++) & 0xff) << 24;
|
||||
n |= (*(src++) & 0xffU) << 24;
|
||||
return n;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue