force promotion to unsigned int

(cherry picked from commit 1eba2c5b)
39 jobs for !1695 with 938-cppcheck-format-issues-v9_14 in 11 minutes and 35 seconds (queued for 3 seconds)
detached