diff options
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -91,7 +91,8 @@ int validate_headref(const char *path) struct stat st; char *buf, buffer[256]; unsigned char sha1[20]; - int len, fd; + int fd; + ssize_t len; if (lstat(path, &st) < 0) return -1; |