diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-11-11 09:34:41 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-11-11 09:34:41 -0500 |
commit | 5b050f04c8ce911c5b6831305a24d70eab95e732 (patch) | |
tree | ebc7be1f9526a75a8d7ac7a7984c20d728ca96d1 /fs/btrfs/zlib.c | |
parent | 8247b41ac980d125de8aeba6f33f381056ac0ecb (diff) | |
download | linux-5b050f04c8ce911c5b6831305a24d70eab95e732.tar.bz2 |
Btrfs: Fix compile warnings on 32 bit machines
Simple casting here and there to fix things up.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/zlib.c')
-rw-r--r-- | fs/btrfs/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/zlib.c b/fs/btrfs/zlib.c index ba2527d08734..5b9f7002513c 100644 --- a/fs/btrfs/zlib.c +++ b/fs/btrfs/zlib.c @@ -370,7 +370,7 @@ int btrfs_zlib_decompress_biovec(struct page **pages_in, data_in = kmap(pages_in[page_in_index]); workspace->inf_strm.next_in = data_in; - workspace->inf_strm.avail_in = min(srclen, PAGE_CACHE_SIZE); + workspace->inf_strm.avail_in = min_t(size_t, srclen, PAGE_CACHE_SIZE); workspace->inf_strm.total_in = 0; workspace->inf_strm.total_out = 0; |