fix-test_vcf_query
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Sat, 29 Jul 2017 08:38:27 +0000 (09:38 +0100)
committerSascha Steinbiss <satta@debian.org>
Sat, 29 Jul 2017 08:38:27 +0000 (09:38 +0100)
Last-Update 2017-07-21

Gbp-Pq: Name fix-test_vcf_query.patch

vcfnorm.c

index 3a1706b5e2659404f7e6b223d6f60cdd37b6d63d..8038be1e80cf0532fc3eb29792c3c322df49dc59 100644 (file)
--- a/vcfnorm.c
+++ b/vcfnorm.c
@@ -94,7 +94,7 @@ static inline int replace_iupac_codes(char *seq, int nseq)
 }
 static inline int has_non_acgtn(char *seq, int nseq)
 {
-    char *end = nseq ? seq + nseq : seq + UINT32_MAX;   // arbitrary large number
+    char *end = nseq ? seq + nseq : seq + (UINT32_MAX >> 2);   // arbitrary large number
     while ( *seq && seq<end )
     {
         char c = toupper(*seq);