Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 14:05:18 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226513 - head/sys/mips/nlm
Message-ID:  <201110181405.p9IE5I2N076772@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110181405.p9IE5I2N076772>