Skip to content

Commit

Permalink
http-push: don't assume char is signed
Browse files Browse the repository at this point in the history
Declare remote_dir_exists[] as signed char to be sure that values of -1
are valid.

Signed-off-by: Nick Hengeveld <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Nick Hengeveld authored and Junio C Hamano committed Mar 20, 2006
1 parent 3dfaf7b commit a3c57c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a3c57c9

Please sign in to comment.