svn commit: r259991 - stable/10/sys/vm

Dimitry Andric dim at FreeBSD.org
Sat Dec 28 02:07:30 UTC 2013


Author: dim
Date: Sat Dec 28 02:07:29 2013
New Revision: 259991
URL: http://svnweb.freebsd.org/changeset/base/259991

Log:
  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]").

Modified:
  stable/10/sys/vm/vm_pageout.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/vm_pageout.c
==============================================================================
--- stable/10/sys/vm/vm_pageout.c	Sat Dec 28 02:00:33 2013	(r259990)
+++ stable/10/sys/vm/vm_pageout.c	Sat Dec 28 02:07:29 2013	(r259991)
@@ -1699,7 +1699,7 @@ vm_pageout(void)
 		}
 	}
 #endif
-	vm_pageout_worker((uintptr_t)0);
+	vm_pageout_worker((void *)(uintptr_t)0);
 }
 
 /*


More information about the svn-src-stable-10 mailing list