瀏覽代碼

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 年之前
父節點
當前提交
7e78cdddc8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/drivers/net/3c595.c

+ 1
- 1
src/drivers/net/3c595.c 查看文件

@@ -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…
取消
儲存