Use fixed-size integers for .idx file I/O

This attempts to finish what Simon started in the previous commit.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2007-01-17 23:17:28 -08:00
parent bb79103194
commit b18b00a661
3 changed files with 7 additions and 7 deletions

View File

@ -351,7 +351,7 @@ struct pack_window {
extern struct packed_git {
struct packed_git *next;
struct pack_window *windows;
unsigned int *index_base;
uint32_t *index_base;
off_t index_size;
off_t pack_size;
int pack_fd;