multi-pack-index: load into memory
[gitweb.git] / pack-bitmap.c
index 06771113fb311e4a75fa7a1e325221e4b60c850c..18f8b22aeb422bb81999e1e564006daf8b64f637 100644 (file)
@@ -120,7 +120,7 @@ static struct ewah_bitmap *read_bitmap_1(struct bitmap_index *index)
 {
        struct ewah_bitmap *b = ewah_pool_new();
 
-       int bitmap_size = ewah_read_mmap(b,
+       ssize_t bitmap_size = ewah_read_mmap(b,
                index->map + index->map_pos,
                index->map_size - index->map_pos);