X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Fproc_devtree.c;h=eca471bc85125626d32c011a820fd828f3124837;hb=65ae24b1811650f2bc5b0b85ea8b0bff6b5bf4a9;hp=abdf068bc27f4cb9b7699d4a6b478725aa25c180;hpb=55d8ca4f8094246da6e71889a4e04bfafaa78b10;p=linux-2.6-omap-h63xx.git diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index abdf068bc27..eca471bc851 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc/proc_devtree.c @@ -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; }