summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sha1-array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha1-array.h b/sha1-array.h
index dc1bca9c9a..c5e4b9324f 100644
--- a/sha1-array.h
+++ b/sha1-array.h
@@ -49,8 +49,8 @@
*/
struct oid_array {
struct object_id *oid;
- int nr;
- int alloc;
+ size_t nr;
+ size_t alloc;
int sorted;
};