http-push: don't assume char is signed
authorNick Hengeveld <nickh@reactrix.com>
Mon, 20 Mar 2006 19:50:51 +0000 (11:50 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 20 Mar 2006 22:38:58 +0000 (14:38 -0800)
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>
http-push.c

index e44310f..b35d400 100644 (file)
@@ -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;