forked from len0rd/rockbox
Fix compile warning on OS X.
Current clang on OS X suggests placing parens so add them (-Wbitwise-op-parentheses enabled by default). Change-Id: I31b49386aa184fe27f72f7f58909b97524d96f44
This commit is contained in:
parent
7cc6d85df9
commit
8624392f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ unsigned long TTSCarbon::be2u32(unsigned char* buf)
|
|||
|
||||
unsigned long TTSCarbon::be2u16(unsigned char* buf)
|
||||
{
|
||||
return buf[1]&0xff | (buf[0]&0xff)<<8;
|
||||
return (buf[1]&0xff) | (buf[0]&0xff)<<8;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue