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>
Nick Hengeveld committed
Mar 20, 2006 at 11:50 UTC
a3c57c9adb2844cebf2048b5ece356f3a091d4f9
1 file changed
+1
-1
http-push.c
+1
-1
@@ -71,7 +71,7 @@ enum XML_Status {
71
72
static int pushing = 0;
73
static int aborted = 0;
74
-static char remote_dir_exists[256];
74
+static signed char remote_dir_exists[256];
75
76
static struct curl_slist *no_pragma_header;
77
static struct curl_slist *default_headers;