diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-04-28 17:55:22 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-29 12:43:15 -0700 |
commit | a0a2f7d79c953b012adcfb0be3f9a60d5efbf644 (patch) | |
tree | 64799f1fcc665b3f817f7ce4ca4c698ef9df492b /ewah/ewok.h | |
parent | Merge branch 'db/make-with-curl' (diff) | |
download | tgif-a0a2f7d79c953b012adcfb0be3f9a60d5efbf644.tar.xz |
ewah: fix constness of ewah_read_mmap
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ewah/ewok.h')
-rw-r--r-- | ewah/ewok.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ewah/ewok.h b/ewah/ewok.h index 43adeb5c68..0556ca5fb0 100644 --- a/ewah/ewok.h +++ b/ewah/ewok.h @@ -99,7 +99,7 @@ int ewah_serialize(struct ewah_bitmap *self, int fd); int ewah_serialize_native(struct ewah_bitmap *self, int fd); int ewah_deserialize(struct ewah_bitmap *self, int fd); -int ewah_read_mmap(struct ewah_bitmap *self, void *map, size_t len); +int ewah_read_mmap(struct ewah_bitmap *self, const void *map, size_t len); int ewah_read_mmap_native(struct ewah_bitmap *self, void *map, size_t len); uint32_t ewah_checksum(struct ewah_bitmap *self); |