take care of type when shifting

This commit is contained in:
iceman1001 2020-08-31 01:19:06 +02:00
parent 11695eb55c
commit 7f14ebc84b

View file

@ -63,7 +63,7 @@
#endif #endif
#ifndef REV64 #ifndef REV64
#define REV64(x) (REV32(x) + (REV32((x) >> 32) << 32)) #define REV64(x) (REV32(x) + ((uint64_t)(REV32((x) >> 32) << 32)))
#endif #endif
#ifndef BIT32 #ifndef BIT32