Date: Wed, 25 Dec 2013 22:32:35 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259893 - head/sys/vm Message-ID: <201312252232.rBPMWZ6a042376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Wed Dec 25 22:32:34 2013 New Revision: 259893 URL: http://svnweb.freebsd.org/changeset/base/259893 Log: 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 Modified: head/sys/vm/vm_pageout.c Modified: head/sys/vm/vm_pageout.c ============================================================================== --- head/sys/vm/vm_pageout.c Wed Dec 25 22:14:42 2013 (r259892) +++ head/sys/vm/vm_pageout.c Wed Dec 25 22:32:34 2013 (r259893) @@ -1699,7 +1699,7 @@ vm_pageout(void) } } #endif - vm_pageout_worker((uintptr_t)0); + vm_pageout_worker((void *)(uintptr_t)0); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312252232.rBPMWZ6a042376>