]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a sign mismatch warning in the physmem code
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 28 Mar 2022 10:29:42 +0000 (11:29 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 28 Mar 2022 10:51:09 +0000 (11:51 +0100)
commitf461b95561fff9d7f39942f7a9aba37ba69ed1fe
tree105778fb82414c156734371d0837593ff26514f5
parent1b3af110bcd522a077f01350b6a51b3ffe434393
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
sys/kern/subr_physmem.c