]> asedeno.scripts.mit.edu Git - git.git/blobdiff - cache.h
Use off_t for index and pack file lengths.
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index ae7bceca502f33723a5ff5c051b6c8167835c6b8..cc872440ef85d9bead5df72879eba2bfe0b84347 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -347,10 +347,10 @@ struct pack_window {
 
 extern struct packed_git {
        struct packed_git *next;
-       unsigned long index_size;
-       unsigned long pack_size;
        struct pack_window *windows;
        unsigned int *index_base;
+       off_t index_size;
+       off_t pack_size;
        int pack_local;
        unsigned char sha1[20];
        /* something like ".git/objects/pack/xxxxx.pack" */