Use unsigned type for the loop index to make overflow checks effective.
commitb357843884ed25703771c254ed20927d082d59e2
authorkib <kib@FreeBSD.org>
Fri, 20 May 2016 15:32:48 +0000 (20 15:32 +0000)
committerkib <kib@FreeBSD.org>
Fri, 20 May 2016 15:32:48 +0000 (20 15:32 +0000)
treeeaac28bd67e9eaf16c7ca183b320884e408604f0
parent57667e052457989f9ca3ed08b3faa6ecf33c2916
Use unsigned type for the loop index to make overflow checks effective.

PR: 209661
Reported by: cturt
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
sys/amd64/amd64/sys_machdep.c