-rw-r--r-- | shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -309,5 +309,6 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1) | |||
309 | file->size = 0; | 309 | file->size = 0; |
310 | } else { | 310 | } else { |
311 | file->ptr = read_sha1_file(sha1, &type, &file->size); | 311 | file->ptr = read_sha1_file(sha1, &type, |
312 | (unsigned long *)&file->size); | ||
312 | } | 313 | } |
313 | return 1; | 314 | return 1; |