[POWERPC] Make struct property's value a void *

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell 2007-04-03 10:58:52 +10:00 committed by Paul Mackerras
parent 9213feea6e
commit 1a38147ed0
9 changed files with 15 additions and 15 deletions

View file

@ -38,7 +38,7 @@ static int property_read_proc(char *page, char **start, off_t off,
n = count;
else
*eof = 1;
memcpy(page, pp->value + off, n);
memcpy(page, (char *)pp->value + off, n);
*start = page;
return n;
}