Fixing -Wsign-compare warnings; NFC.