From 7e72c8cd24e9be94047c0c42b64e6d528efbd679 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 28 Dec 2008 11:00:55 +0200 Subject: [PATCH] --- yaml --- r: 125477 b: refs/heads/master c: 6a4a9b438fe43397f4652853838f284cddd629b5 h: refs/heads/master i: 125475: 54a0dd5b87e42c0d86f961831f28cdf74876fffc v: v3 --- [refs] | 2 +- trunk/fs/ubifs/compress.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 518ae06d0642..1a789df99163 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2acf80675800d5e6775990d1280cca5c2ffb30e6 +refs/heads/master: 6a4a9b438fe43397f4652853838f284cddd629b5 diff --git a/trunk/fs/ubifs/compress.c b/trunk/fs/ubifs/compress.c index 4c90ee2aef46..11e4132f314a 100644 --- a/trunk/fs/ubifs/compress.c +++ b/trunk/fs/ubifs/compress.c @@ -108,7 +108,7 @@ void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, if (compr->comp_mutex) mutex_lock(compr->comp_mutex); err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, - out_len); + (unsigned int *)out_len); if (compr->comp_mutex) mutex_unlock(compr->comp_mutex); if (unlikely(err)) { @@ -172,7 +172,7 @@ int ubifs_decompress(const void *in_buf, int in_len, void *out_buf, if (compr->decomp_mutex) mutex_lock(compr->decomp_mutex); err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, - out_len); + (unsigned int *)out_len); if (compr->decomp_mutex) mutex_unlock(compr->decomp_mutex); if (err)