DF-0149 / fix.diff
diff --git a/sys/kern/subr_module.c b/sys/kern/subr_module.c --- a/sys/kern/subr_module.c +++ b/sys/kern/subr_module.c @@ -48,7 +48,7 @@ { caddr_t curp; u_int32_t *hdr; - int next; + size_t next; int i; char *scanname; @@ -91,7 +91,7 @@ { caddr_t curp, lname; u_int32_t *hdr; - int next; + size_t next; if (preload_metadata != NULL) { @@ -128,7 +128,7 @@ { caddr_t curp; u_int32_t *hdr; - int next; + size_t next; if (preload_metadata != NULL) { @@ -171,7 +171,7 @@ caddr_t curp; u_int32_t *hdr; u_int32_t type = 0; - int next; + size_t next; curp = mod; for (;;) { @@ -214,7 +214,7 @@ { caddr_t curp; u_int32_t *hdr; - int next; + size_t next; int clearing; if (preload_metadata != NULL) { @@ -250,7 +250,7 @@ caddr_t curp; u_int32_t *hdr; vm_offset_t *ptr; - int next; + size_t next; if (preload_metadata != NULL) { |