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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to