From dc28e82e7426b6988bfad20ee60f248599633b54 Mon Sep 17 00:00:00 2001 From: orbitz Date: Sun, 29 Dec 2013 12:55:08 +0100 Subject: Clneaup some whitespace, change how calloc called --- kmer_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmer_utils.c') diff --git a/kmer_utils.c b/kmer_utils.c index 51129ee..53b4882 100644 --- a/kmer_utils.c +++ b/kmer_utils.c @@ -126,7 +126,7 @@ unsigned long long *kmer_counts_from_file(FILE *fh, const unsigned int kmer) { const unsigned long width = kmer_pow_four(kmer); // malloc our return array - unsigned long long * counts = calloc((width+ 1), sizeof(unsigned long long)); + unsigned long long *counts = calloc(width + 1, sizeof *counts); if(counts == NULL) { fprintf(stderr, strerror(errno)); exit(EXIT_FAILURE); -- cgit v1.2.3