aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-01-17 15:47:59 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-01-17 15:47:59 -0500
commit468f3d2c268ebee5bade389aebe368d2134e937b (patch)
treeb5dd399acdfa9477707e6c48c2cdf7b0e28fb60b
parentc34cb2424726b7c3643d65ad048144dfef585e3c (diff)
fix pointer
-rw-r--r--kmer_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index e1b0a44..6e11a38 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -181,7 +181,7 @@ unsigned long long *kmer_counts_from_file(FILE *fh, const unsigned int kmer) {
if(started)
ptr = buffer + kmer;
- header = translate_nucleotides_to_numbers(ptr, len, kmer_alpha, &header);
+ header = translate_nucleotides_to_numbers(ptr, len, kmer_alpha, header);
for(i = 0; i < (len - kmer + 1); i++) {
size_t mer = calculate_mer(buffer, len, &i, kmer, width);