aboutsummaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorNick Hengeveld <nickh@reactrix.com>2006-03-20 11:50:51 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-20 14:38:58 -0800
commita3c57c9adb2844cebf2048b5ece356f3a091d4f9 (patch)
tree9e7307b9cb182bca251efe4d8ec56844d77cf95e /http-push.c
parent3dfaf7bcfd116ac180df8405e700a20d7159702b (diff)
downloadgit-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.tar.gz
git-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.tar.xz
http-push: don't assume char is signed
Declare remote_dir_exists[] as signed char to be sure that values of -1 are valid. Signed-off-by: Nick Hengeveld <nickh@reactrix.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index e44310f5a..b35d400ee 100644
--- a/http-push.c
+++ b/http-push.c
@@ -71,7 +71,7 @@ enum XML_Status {
static int pushing = 0;
static int aborted = 0;
-static char remote_dir_exists[256];
+static signed char remote_dir_exists[256];
static struct curl_slist *no_pragma_header;
static struct curl_slist *default_headers;