1<<31 upsets ubsan

This commit is contained in:
Michael Davidsaver committed 2023-03-10 10:57:35 +00:00
1 parent f99a1cb0f3
commit d3f93746a8
4 files changed
+6 -6

No files matched your search

@@ -123,7 +123,7 @@ MAIN(mbbioDirectTest)
testDiag("##### clear bit 31 (0x1f) #####");
putN("do%u.B1F", N, 0);
value &= ~(1<<31);
value &= ~(1u<<31u);
testN("val%d", N, value);
testmbbioRecords(N, value);