Index: sys/dev/hwreset/hwreset.c =================================================================== --- sys/dev/hwreset/hwreset.c +++ sys/dev/hwreset/hwreset.c @@ -43,7 +43,7 @@ struct hwreset { device_t consumer_dev; /* consumer device*/ device_t provider_dev; /* provider device*/ - int rst_id; /* reset id */ + intptr_t rst_id; /* reset id */ }; MALLOC_DEFINE(M_HWRESET, "hwreset", "Reset framework");