]> git.donarmstrong.com Git - samtools.git/blobdiff - bcf.c
fixed a bug in bcf reader
[samtools.git] / bcf.c
diff --git a/bcf.c b/bcf.c
index 12f6634c523d79b689a3be36114ac4ed55426249..8bd222d903e9e66e4fad6b7ca568b70f220fffe4 100644 (file)
--- a/bcf.c
+++ b/bcf.c
@@ -101,7 +101,7 @@ int bcf_hdr_sync(bcf_hdr_t *b)
 
 int bcf_sync(int n_smpl, bcf1_t *b)
 {
-       char *p, *tmp[4], *s;
+       char *p, *tmp[5], *s;
        int i, n, c;
        // set ref, alt, flt, info, fmt
        b->ref = b->alt = b->flt = b->info = b->fmt = 0;