mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
transcode_data.h: missing cast
* transcode_data.h (o4): add missing cast to get rid of implicit signed extension and suppress shift-overflow warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b0e866a53d
commit
ef53976662
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
|
||||||
0xffffffffU))
|
0xffffffffU))
|
||||||
#define o4(b0,b1,b2,b3) (PType(((((unsigned char)(b1))<<8)|\
|
#define o4(b0,b1,b2,b3) (PType(((((unsigned char)(b1))<<8)|\
|
||||||
(((unsigned char)(b2))<<16)|\
|
(((unsigned char)(b2))<<16)|\
|
||||||
(((unsigned char)(b3))<<24)|\
|
(((unsigned int)(unsigned char)(b3))<<24)|\
|
||||||
((((unsigned char)(b0))&0x07)<<5)|\
|
((((unsigned char)(b0))&0x07)<<5)|\
|
||||||
FOURbt)&\
|
FOURbt)&\
|
||||||
0xffffffffU))
|
0xffffffffU))
|
||||||
|
|
Loading…
Reference in a new issue