浏览代码

[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;

正在加载...
取消
保存