Fix UDPC::isBigEndian returning always true

This commit is contained in:
Stephen Seo 2020-01-16 20:28:01 +09:00
parent 80e67e845c
commit 0170423a35

View file

@ -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) {