Fix missing return values and some error tests for empty index files
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index 864f70b..900824a 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -56,7 +56,7 @@ struct cache_entry {
        unsigned int st_size;
        unsigned char sha1[20];
        unsigned short namelen;
-       unsigned char name[0];
+       char name[0];
 };
 
 const char *sha1_file_directory;