Fix XLP compile failure on n32 abi.

Reported by:	bz@
This commit is contained in:
jchandra 2011-10-18 14:05:18 +00:00
parent dd8c45ce3c
commit 9e1982ba8e

View File

@ -303,7 +303,7 @@ xlp_bootargs_init(__register_t arg)
char *p, *v, *n; char *p, *v, *n;
uint32_t mask; uint32_t mask;
p = (void *)arg; p = (void *)(intptr_t)arg;
while (*p != '\0') { while (*p != '\0') {
strlcpy(buf, p, sizeof(buf)); strlcpy(buf, p, sizeof(buf));
v = buf; v = buf;