From e9becb2b7837d0fc3e878915609ffed1c5f94cb1 Mon Sep 17 00:00:00 2001 From: Daniel Zerbino Date: Tue, 4 Nov 2014 02:11:16 +0000 Subject: [PATCH] Typo in bufferedReader allocation --- src/bufferedReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bufferedReader.c b/src/bufferedReader.c index 7cdd844..eef0aaa 100644 --- a/src/bufferedReader.c +++ b/src/bufferedReader.c @@ -58,7 +58,7 @@ static BlockData * createBlockData() { new->chrom = (char **) calloc(BLOCK_SIZE, sizeof(char*)); new->start = (int *) calloc(BLOCK_SIZE, sizeof(int)); new->finish = (int *) calloc(BLOCK_SIZE, sizeof(int)); - new->value = (int *) calloc(BLOCK_SIZE, sizeof(double)); + new->value = (double *) calloc(BLOCK_SIZE, sizeof(double)); return new; }