diff options
-rw-r--r-- | transcode_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode_data.h b/transcode_data.h index 4dd10abb89..2007eb06d3 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -56,7 +56,7 @@ RUBY_SYMBOL_EXPORT_BEGIN 0xffffffffU)) #define o4(b0,b1,b2,b3) (PType(((((unsigned char)(b1))<<8)|\ (((unsigned char)(b2))<<16)|\ - (((unsigned char)(b3))<<24)|\ + (((unsigned int)(unsigned char)(b3))<<24)|\ ((((unsigned char)(b0))&0x07)<<5)|\ FOURbt)&\ 0xffffffffU)) |