HomeFreeBSD

Fix a sign mismatch warning in the physmem code

Description

Fix a sign mismatch warning in the physmem code

Make sure both sides of a comparison are unsigned. As the values being
compared are size_t make the the value in the for loop size_t too.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit f461b95561fff9d7f39942f7a9aba37ba69ed1fe)

Details

Provenance
andrewAuthored on Mar 28 2022, 10:29 AM
Parents
rG8d1ea089800a: Support EFIRT on arm64 with a non 4k page size
Branches
Unknown
Tags
Unknown