From a3c57c9adb2844cebf2048b5ece356f3a091d4f9 Mon Sep 17 00:00:00 2001 From: Nick Hengeveld Date: Mon, 20 Mar 2006 11:50:51 -0800 Subject: [PATCH] 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 --- http-push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2