Browse Source

[3c595] Fix compilation when "char" is unsigned by default

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
7e78cdddc8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/3c595.c

+ 1
- 1
src/drivers/net/3c595.c View File

@@ -391,7 +391,7 @@ vxsetlink(void)
391 391
 {       
392 392
     int i, j;
393 393
     char *reason, *warning;
394
-    static char prev_conn = -1;
394
+    static signed char prev_conn = -1;
395 395
 
396 396
     if (prev_conn == -1) {
397 397
         prev_conn = vx_connector;

Loading…
Cancel
Save