Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
change quoting in test t1006-cat-file.sh
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index 2ae7cd997555883ecbe73b12fb53c1e6c650b62c..b7c24a2aacf87ffea6bd6380dbff44e5d317b240 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-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;