submodule--helper: introduce for_each_listed_submodule()
[gitweb.git] / sha1_file.c
index 7d9c9aed2f5c5483771ff7ab90f53cd9870402c0..b4a67bb838d6e1a87093a90398cb254653269a86 100644 (file)
@@ -30,7 +30,7 @@
 #include "quote.h"
 #include "packfile.h"
 
-const unsigned char null_sha1[20];
+const unsigned char null_sha1[GIT_MAX_RAWSZ];
 const struct object_id null_oid;
 const struct object_id empty_tree_oid = {
        EMPTY_TREE_SHA1_BIN_LITERAL