~ruther/guix-local

ref: 814fd32670522dcf6f0fffcfbdf179a9c4320afa guix-local/gnu/packages/patches/bcftools-regidx-unsigned-char.patch -rw-r--r-- 483 bytes
814fd326 — Ricardo Wurmus gnu: r-circlize: Update to 0.4.2. 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) 
     {