summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-04 17:05:36 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-06 11:58:22 +0200
commit6ec540993675a4d0e60497c7788cb577a79028f8 (patch)
treef71eb15f5a16721919990c5341652b52d5809d6c /ext2fs
parent655f60be3622bfbd90e87a4038cc9c8190ad7c35 (diff)
ext2fs: fix compiler warning
* ext2fs/pager.c (disk_cache_block_ref): block cannot be negative.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index ce5bc6d2..39cf1c73 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -957,7 +957,7 @@ disk_cache_block_ref (block_t block)
int index;
void *bptr;
- assert (0 <= block && block < store->size >> log2_block_size);
+ assert (block < store->size >> log2_block_size);
ext2_debug ("(%u)", block);