Fix UDPC::isBigEndian returning always true
This commit is contained in:
parent
80e67e845c
commit
0170423a35
1 changed files with 1 additions and 1 deletions
|
@ -1719,7 +1719,7 @@ bool UDPC::isBigEndian() {
|
|||
} bint = {0x01020304};
|
||||
|
||||
isBigEndian = (bint.c[0] == 1 ? 1 : 2);
|
||||
return isBigEndian;
|
||||
return isBigEndian == 1;
|
||||
}
|
||||
|
||||
void UDPC::be64(char *integer) {
|
||||
|
|
Loading…
Reference in a new issue