Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: guard against invalid loose subdirectory numbers
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 42633e0c6e672c46852f0590f1941249691f962c..ea208c97f883d0bc0c7c9d78e710db457555393b 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-68,7
+68,7
@@
static int prune_cruft(const char *basename, const char *path, void *data)
return 0;
}
-static int prune_subdir(int nr, const char *path, void *data)
+static int prune_subdir(
unsigned
int nr, const char *path, void *data)
{
if (!show_only)
rmdir(path);