From c2f7676d12a6d591d774ecdfa51e7fdbb62fe4e0 Mon Sep 17 00:00:00 2001 From: James Slocum Date: Sat, 5 Oct 2013 09:38:45 -0400 Subject: Fixed small bug with my bug fix ;-) --- mbw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3