* lib/hashcode-mem.c (hash_pjw_bare): Use size_t for loop index.
2026-06-26 Paul Eggert <eggert@cs.ucla.edu>
+ hashcode-mem: don’t infloop if UINT_MAX < size
+ * lib/hashcode-mem.c (hash_pjw_bare): Use size_t for loop index.
+
gen-uni-tables: prefer size_t for size loops
* lib/gen-uni-tables.c (output_predicate, output_category)
(output_combclass, output_bidi_category, output_decimal_digit)
const unsigned char *s = x;
size_t h = 0;
- for (unsigned int i = 0; i < n; i++)
+ for (size_t i = 0; i < n; i++)
h = s[i] + stdc_rotate_left (h, 9);
return h;