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>
This commit is contained in:
Nick Hengeveld 2006-03-20 11:50:51 -08:00 committed by Junio C Hamano
parent 3dfaf7bcfd
commit a3c57c9adb

View 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;