From 50be08b2de946accc4c15aab2ec45ac86f30b09f Mon Sep 17 00:00:00 2001 From: Heng Li Date: Fri, 3 Aug 2012 14:46:23 -0400 Subject: [PATCH] r580: bugfix - bam_aux_get() error given 'f' type --- bam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bam.h b/bam.h index 159f715..a3305e3 100644 --- a/bam.h +++ b/bam.h @@ -40,7 +40,7 @@ @copyright Genome Research Ltd. */ -#define BAM_VERSION "0.1.18-r579" +#define BAM_VERSION "0.1.18-r580" #include #include @@ -773,7 +773,7 @@ static inline int bam_aux_type2size(int x) { if (x == 'C' || x == 'c' || x == 'A') return 1; else if (x == 'S' || x == 's') return 2; - else if (x == 'I' || x == 'i' || x == 'f') return 4; + else if (x == 'I' || x == 'i' || x == 'f' || x == 'F') return 4; else return 0; } -- 2.39.2