--- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -606,7 +606,7 @@ { struct agp_softc *sc = device_get_softc(dev); vm_page_t m; - int i; + vm_ooffset_t i; lockmgr(&sc->as_lock, LK_EXCLUSIVE);