diff --git a/sys/mips/nlm/xlp_machdep.c b/sys/mips/nlm/xlp_machdep.c index 81d195e644f0..5724df01e587 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;