fcoe-utils/fcoe-utils-fix-arm.patch
Lee Duncan c811757451 Accepting request 828115 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Add patch to fix build on architectures where char is 
  unsigned (%arm, aarch64):
  * fcoe-utils-fix-arm.patch

OBS-URL: https://build.opensuse.org/request/show/828115
OBS-URL: https://build.opensuse.org/package/show/network:fcoe/fcoe-utils?expand=0&rev=46
2020-08-31 18:43:13 +00:00

12 lines
313 B
Diff

--- fcoe-utils-1.0.33.orig/fcnsq.c 2020-08-20 09:43:36.227637286 +0000
+++ fcoe-utils-1.0.33/fcnsq.c 2020-08-20 09:43:50.307246472 +0000
@@ -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) {