[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:

committed by
Paul Mackerras

parent
9213feea6e
commit
1a38147ed0
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user