force promotion to unsigned int

(cherry picked from commit 1eba2c5b)
42 jobs for !1696 with 938-cppcheck-format-issues-v9_11 in 10 minutes and 20 seconds (queued for 4 seconds)
detached