fix debian 12 test failure

This commit is contained in:
Malavan Sotheeswaran 2023-01-18 16:12:50 -08:00
parent ff7991951f
commit 7e91711086

View File

@ -322,7 +322,7 @@ handle_wrap:
return 1; return 1;
} }
int checkSignedBitfieldOverflow(int64_t value, int64_t incr, uint64_t bits, int owtype, int64_t *limit) { int checkSignedBitfieldOverflow(int64_t value, int64_t incr, int bits, int owtype, int64_t *limit) {
int64_t max = (bits == 64) ? INT64_MAX : (((int64_t)1<<(bits-1))-1); int64_t max = (bits == 64) ? INT64_MAX : (((int64_t)1<<(bits-1))-1);
int64_t min = (-max)-1; int64_t min = (-max)-1;