~ruther/guix-local

ref: ad3c61fcd3d6e2e3eab41aae642467f5eaf64b57 guix-local/gnu/packages/patches/bcftools-regidx-unsigned-char.patch -rw-r--r-- 483 bytes
ad3c61fc — Ricardo Wurmus gnu: python-hy: Update to 0.13.0. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix test-regidx argument parsing on archs with unsigned char
 On architectures where char is unsigned "c >= 0" was always true.
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/865060

--- a/test/test-regidx.c
+++ b/test/test-regidx.c
@@ -336,7 +336,7 @@
         {"seed",1,0,'s'},
         {0,0,0,0}
     };
-    char c;
+    int c;
     int seed = (int)time(NULL);
     while ((c = getopt_long(argc, argv, "hvs:",loptions,NULL)) >= 0) 
     {