svn commit: r226513 - head/sys/mips/nlm

Jayachandran C. jchandra at FreeBSD.org
Tue Oct 18 14:05:18 UTC 2011


Author: jchandra
Date: Tue Oct 18 14:05:18 2011
New Revision: 226513
URL: http://svn.freebsd.org/changeset/base/226513

Log:
  Fix XLP compile failure on n32 abi.
  
  Reported by:	bz@

Modified:
  head/sys/mips/nlm/xlp_machdep.c

Modified: head/sys/mips/nlm/xlp_machdep.c
==============================================================================
--- head/sys/mips/nlm/xlp_machdep.c	Tue Oct 18 13:58:22 2011	(r226512)
+++ head/sys/mips/nlm/xlp_machdep.c	Tue Oct 18 14:05:18 2011	(r226513)
@@ -303,7 +303,7 @@ xlp_bootargs_init(__register_t arg)
 	char	*p, *v, *n;
 	uint32_t mask;
 
-	p = (void *)arg;
+	p = (void *)(intptr_t)arg;
 	while (*p != '\0') {
 		strlcpy(buf, p, sizeof(buf));
 		v = buf;


More information about the svn-src-all mailing list