aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-10-29 15:04:21 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-10-29 15:04:21 -0400
commit522e5d42c874d0443d1738ba790aad099b9951d9 (patch)
treeb5c1ee84b6aee14a87caa041341dacb60b4260f0
parentbe6667e95f04bd65475d71c16d2789792c1e787e (diff)
fix memset in quikr_train as weel
-rw-r--r--src/c/quikr_train.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/quikr_train.c b/src/c/quikr_train.c
index 0c4c136..d90eb72 100644
--- a/src/c/quikr_train.c
+++ b/src/c/quikr_train.c
@@ -216,7 +216,7 @@ int main(int argc, char **argv) {
}
// set counts to zero
- memset(counts, 0, width * sizeof(counts));
+ memset(counts, 0, width * sizeof(unsigned long long));
// loop through our string to process each k-mer
for(position = 0; position < (seq_length - kmer + 1); position++) {