~ruther/guix-local

ref: 43dc47fa249aebe3b5cbc0141c2be4ba226e92bf guix-local/gnu/packages/patches/bcftools-regidx-unsigned-char.patch -rw-r--r-- 483 bytes
43dc47fa — Marius Bakke gnu: Add zathura-pdf-mupdf. 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) 
     {