diff options
author | orbitz <orbitz@gmail.com> | 2013-12-29 12:55:08 +0100 |
---|---|---|
committer | orbitz <orbitz@gmail.com> | 2013-12-29 12:55:08 +0100 |
commit | dc28e82e7426b6988bfad20ee60f248599633b54 (patch) | |
tree | 3445b134ce179441616575d3246aa652505f8dec | |
parent | 7b3377714a57d94db3e0efb886e7efe5e14999ca (diff) |
Clneaup some whitespace, change how calloc called
-rw-r--r-- | kmer_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |