From: Nick Hengeveld Date: Mon, 20 Mar 2006 19:50:51 +0000 (-0800) Subject: http-push: don't assume char is signed X-Git-Tag: v1.3.0-rc1~9^2~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a3c57c9adb2844cebf2048b5ece356f3a091d4f9;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/http-push.c b/http-push.c index e44310f5..b35d400e 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;