diff options
author | dim <dim@FreeBSD.org> | 2013-12-25 22:32:34 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-25 22:32:34 +0000 |
commit | 7f980c6758ff07c01618f871ce44fb9a2ccd92d2 (patch) | |
tree | b32dba8b282c82370c30be7e311adbd861bb6bda /sys/vm | |
parent | 18d2302eacffcd734ce543e7dea32502f9314bb7 (diff) | |
download | FreeBSD-src-7f980c6758ff07c01618f871ce44fb9a2ccd92d2.zip FreeBSD-src-7f980c6758ff07c01618f871ce44fb9a2ccd92d2.tar.gz |
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]").
MFC after: 3 days
Diffstat (limited to 'sys/vm')
-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); } /* |