Remove comparisons of signed to unsigned values

This commit is contained in:
Yiltan Temucin committed 2024-12-12 10:21:08 -06:00
1 orang tua 1b5a6e74aa
melakukan fa0858833e
22 files changed
+74 -74

No files matched your search

@@ -120,9 +120,9 @@ void TeamCtxPrimitiveTester::verifyResults(uint64_t size) {
(_type == TeamCtxGetTestType || _type == TeamCtxGetNBITestType) ? 0 : 1;
if (args.myid == check_id) {
for (int i = 0; i < size; i++) {
for (uint64_t i = 0; i < size; i++) {
if (r_buf[i] != '0') {
fprintf(stderr, "Data validation error at idx %d\n", i);
fprintf(stderr, "Data validation error at idx %lu\n", i);
fprintf(stderr, "Got %c, Expected %c\n", r_buf[i], '0');
exit(-1);
}