@@ -276,12 +276,12 @@ int64_t value; value = readULEB128(ptr); bits = (*ptr - oldPtr) * 7; - if (bits < 64 && value & (1 << (bits - 1))) - value |= -(1 << bits); + if (bits < 64 && value & (INT64_C(1) << (bits - 1))) + value |= -(INT64_C(1) << bits); return value; } static uintptr_t