Type 'int' is too small for 'i' and 'lastp' variables. Use proper type,
which is vm_pindex_t (unsigned 64bit on i386).
This commit is contained in:
parent
7daf8ae6a9
commit
6ab0a0aefe
@ -524,8 +524,8 @@ static int
|
||||
mdstart_swap(struct md_s *sc, struct bio *bp)
|
||||
{
|
||||
struct sf_buf *sf;
|
||||
int i, rv;
|
||||
int offs, len, lastp, lastend;
|
||||
int rv, offs, len, lastend;
|
||||
vm_pindex_t i, lastp;
|
||||
vm_page_t m;
|
||||
u_char *p;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user