summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorNick Hengeveld <nickh@reactrix.com>2006-03-20 19:50:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-20 22:38:58 (GMT)
commita3c57c9adb2844cebf2048b5ece356f3a091d4f9 (patch)
tree9e7307b9cb182bca251efe4d8ec56844d77cf95e /http-push.c
parent3dfaf7bcfd116ac180df8405e700a20d7159702b (diff)
downloadgit-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.zip
git-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.tar.gz
git-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.tar.bz2
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 e44310f..b35d400 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;