20 Star 0 Fork 19

openEuler-RISC-V/fcoe-utils

forked from src-openEuler/fcoe-utils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Fix-build-error-to-change-char-type.patch 609 Bytes
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2022-03-02 21:06 +08:00 . Fix build error
From 7f4c8df2adb258d61be3df7cee24afef2901629d Mon Sep 17 00:00:00 2001
From: Guillaume Gardet <guillaume.gardet@arm.com>
Date: Thu, 20 Aug 2020 09:55:47 +0000
Subject: [PATCH 1/1] char can be unsigned on arm, so set signed explicitly as
the check expects it can be negative
---
fcnsq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fcnsq.c b/fcnsq.c
index 1597cd5..c59c428 100644
--- a/fcnsq.c
+++ b/fcnsq.c
@@ -381,7 +381,7 @@ int main(int argc, char *argv[])
u64 wwnn = 0;
int rc = 0;
enum commands cmd = 0;
- char c;
+ signed char c;
uintmax_t wwnn_tmp = 0;
while(1) {
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-risc-v/fcoe-utils.git
git@gitee.com:openeuler-risc-v/fcoe-utils.git
openeuler-risc-v
fcoe-utils
fcoe-utils
master

搜索帮助