summaryrefslogtreecommitdiffstats
path: root/sys/mips/nlm
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2011-10-18 14:05:18 +0000
committerjchandra <jchandra@FreeBSD.org>2011-10-18 14:05:18 +0000
commit9e1982ba8eaabe131f148406f3f2819d8e0e1563 (patch)
tree2e54842752059ed59d9eb23ef031b996cd2819bf /sys/mips/nlm
parentdd8c45ce3c96b266ec21404bd9dae9ccd72b3d81 (diff)
downloadFreeBSD-src-9e1982ba8eaabe131f148406f3f2819d8e0e1563.zip
FreeBSD-src-9e1982ba8eaabe131f148406f3f2819d8e0e1563.tar.gz
Fix XLP compile failure on n32 abi.
Reported by: bz@
Diffstat (limited to 'sys/mips/nlm')
-rw-r--r--sys/mips/nlm/xlp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/nlm/xlp_machdep.c b/sys/mips/nlm/xlp_machdep.c
index 81d195e..5724df0 100644
--- a/sys/mips/nlm/xlp_machdep.c
+++ b/sys/mips/nlm/xlp_machdep.c
@@ -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;
OpenPOWER on IntegriCloud