diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-28 10:00:55 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-31 13:13:24 +0100 |
commit | 6a4a9b438fe43397f4652853838f284cddd629b5 (patch) | |
tree | 3a000f7fa5bfd18d98d632e82bb465a271d9cfb4 /fs/hugetlbfs | |
parent | UBIFS: simplify make_free_space (diff) | |
download | linux-6a4a9b438fe43397f4652853838f284cddd629b5.tar.xz linux-6a4a9b438fe43397f4652853838f284cddd629b5.zip |
UBIFS: fix sparse warnings
fs/ubifs/compress.c:111:8: warning: incorrect type in argument 5 (different signedness)
fs/ubifs/compress.c:111:8: expected unsigned int *dlen
fs/ubifs/compress.c:111:8: got int *out_len
fs/ubifs/compress.c:175:10: warning: incorrect type in argument 5 (different signedness)
fs/ubifs/compress.c:175:10: expected unsigned int *dlen
fs/ubifs/compress.c:175:10: got int *out_len
Fix this by adding a cast to (unsigned int *). We guarantee that
our lengths are small and no overflow is possible.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions