From: Michael Brown Date: Sat, 12 Mar 2016 18:06:47 +0000 (+0000) Subject: [3c595] Fix compilation when "char" is unsigned by default X-Git-Tag: v1.20.1~532 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F44%2Fhead;p=thirdparty%2Fipxe.git [3c595] Fix compilation when "char" is unsigned by default Signed-off-by: Michael Brown --- diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c index 2338c54b7..92d38cfc5 100644 --- a/src/drivers/net/3c595.c +++ b/src/drivers/net/3c595.c @@ -391,7 +391,7 @@ vxsetlink(void) { int i, j; char *reason, *warning; - static char prev_conn = -1; + static signed char prev_conn = -1; if (prev_conn == -1) { prev_conn = vx_connector;