summaryrefslogtreecommitdiff
path: root/fs/jffs2/compr_zlib.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-04-24 23:01:02 +0200
committerMichal Simek <monstr@monstr.eu>2007-04-24 23:01:02 +0200
commit144876a380f5756f57412caf74c1d6dc201dd796 (patch)
tree093dbd7682b0c8ecad11af1f8e941fba808fd9e1 /fs/jffs2/compr_zlib.c
parent32556443840f127170e4baa8bdd5b567039f6c36 (diff)
downloadu-boot-imx-144876a380f5756f57412caf74c1d6dc201dd796.zip
u-boot-imx-144876a380f5756f57412caf74c1d6dc201dd796.tar.gz
u-boot-imx-144876a380f5756f57412caf74c1d6dc201dd796.tar.bz2
[PATCH] MTD partition support, JFFS2 support
Diffstat (limited to 'fs/jffs2/compr_zlib.c')
-rw-r--r--fs/jffs2/compr_zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 1b35585..d88d0f8 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -45,7 +45,7 @@
long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out,
__u32 srclen, __u32 destlen)
{
- return (decompress_block(cpage_out, data_in + 2, ldr_memcpy));
+ return (decompress_block(cpage_out, data_in + 2, (void *) ldr_memcpy));
}