From 522e5d42c874d0443d1738ba790aad099b9951d9 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 29 Oct 2013 15:04:21 -0400 Subject: fix memset in quikr_train as weel --- src/c/quikr_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c/quikr_train.c') 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++) { -- cgit v1.2.3