From: Heng Li Date: Fri, 3 Aug 2012 18:46:23 +0000 (-0400) Subject: r580: bugfix - bam_aux_get() error given 'f' type X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=50be08b2de946accc4c15aab2ec45ac86f30b09f r580: bugfix - bam_aux_get() error given 'f' type --- 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; }