diff options
author | Nick Hengeveld <nickh@reactrix.com> | 2006-03-20 11:50:51 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-20 14:38:58 -0800 |
commit | a3c57c9adb2844cebf2048b5ece356f3a091d4f9 (patch) | |
tree | 9e7307b9cb182bca251efe4d8ec56844d77cf95e /http-push.c | |
parent | 3dfaf7bcfd116ac180df8405e700a20d7159702b (diff) | |
download | git-a3c57c9adb2844cebf2048b5ece356f3a091d4f9.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index e44310f5a8..b35d400ee1 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; |