MFC r259893:

In sys/vm/vm_pageout.c, since vm_pageout_worker() takes a void * as
argument, cast the incoming 0 argument to void *, to silence a warning
from clang 3.4 ("expression which evaluates to zero treated as a null
pointer constant of type 'void *' [-Wnon-literal-null-conversion]").
This commit is contained in:
dim 2013-12-28 02:07:29 +00:00
parent d0987645bf
commit ecbf461bca

View File

@ -1699,7 +1699,7 @@ vm_pageout(void)
}
}
#endif
vm_pageout_worker((uintptr_t)0);
vm_pageout_worker((void *)(uintptr_t)0);
}
/*