diff options
author | dim <dim@FreeBSD.org> | 2013-12-28 02:07:29 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-28 02:07:29 +0000 |
commit | ecbf461bca3cc5ec4076fe8e7628f5b82eaa952c (patch) | |
tree | 601ac0e8872781414d30a65278e4f8d0527ec1c7 /sys/vm/vm_pageout.c | |
parent | d0987645bf01fb00479ede8ae0e016caaff2f9cd (diff) | |
download | FreeBSD-src-ecbf461bca3cc5ec4076fe8e7628f5b82eaa952c.zip FreeBSD-src-ecbf461bca3cc5ec4076fe8e7628f5b82eaa952c.tar.gz |
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]").
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r-- | sys/vm/vm_pageout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index e743640..e19ef1f 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -1699,7 +1699,7 @@ vm_pageout(void) } } #endif - vm_pageout_worker((uintptr_t)0); + vm_pageout_worker((void *)(uintptr_t)0); } /* |