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
 {       
391
 {       
392
     int i, j;
392
     int i, j;
393
     char *reason, *warning;
393
     char *reason, *warning;
394
-    static char prev_conn = -1;
394
+    static signed char prev_conn = -1;
395
 
395
 
396
     if (prev_conn == -1) {
396
     if (prev_conn == -1) {
397
         prev_conn = vx_connector;
397
         prev_conn = vx_connector;

Loading…
Cancel
Save