Merge branch 'jm/maint-misc-fix' into maint
[git/git.git] / setup.c
diff --git a/setup.c b/setup.c
index 03cd84f..e7a3786 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -275,7 +275,7 @@ const char *read_gitfile_gently(const char *path)
        const char *slash;
        struct stat st;
        int fd;
        const char *slash;
        struct stat st;
        int fd;
-       size_t len;
+       ssize_t len;
 
        if (stat(path, &st))
                return NULL;
 
        if (stat(path, &st))
                return NULL;