summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Slocum <j.m.slocum@gmail.com>2013-10-05 09:38:45 -0400
committerJames Slocum <j.m.slocum@gmail.com>2013-10-05 09:38:45 -0400
commitc2f7676d12a6d591d774ecdfa51e7fdbb62fe4e0 (patch)
treea1fdb8b439a97c21c2eddc1eb39c21b883038915
parent14d36350f939a1c1bec906a65a50536d80780ab9 (diff)
Fixed small bug with my bug fix ;-)
-rw-r--r--mbw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbw.c b/mbw.c
index 89e6f8d..6251ea9 100644
--- a/mbw.c
+++ b/mbw.c
@@ -110,7 +110,7 @@ double worker(unsigned long long asize, long *a, long *b, int type, unsigned lon
char* aa = (char*)a;
char* bb = (char*)b;
gettimeofday(&starttime, NULL);
- for (t=array_bytes; t >= block_size; t-=block_size, a+=block_size){
+ for (t=array_bytes; t >= block_size; t-=block_size, aa+=block_size){
bb=mempcpy(bb, aa, block_size);
}
if(t) {