Use uint32_t for pack-objects counters.
[gitweb.git] / fast-import.c
index cc3347b23d0c7dba1bc05c65cb58215c92bb8547..132dd9c938fc811b14bd141266afe3cd7c7f4302 100644 (file)
@@ -757,7 +757,7 @@ static char *create_index(void)
 static char *keep_pack(char *curr_index_name)
 {
        static char name[PATH_MAX];
-       static char *keep_msg = "fast-import";
+       static const char *keep_msg = "fast-import";
        int keep_fd;
 
        chmod(pack_data->pack_name, 0444);