diff options
author | James Slocum <j.m.slocum@gmail.com> | 2013-10-05 09:38:45 -0400 |
---|---|---|
committer | James Slocum <j.m.slocum@gmail.com> | 2013-10-05 09:38:45 -0400 |
commit | c2f7676d12a6d591d774ecdfa51e7fdbb62fe4e0 (patch) | |
tree | a1fdb8b439a97c21c2eddc1eb39c21b883038915 | |
parent | 14d36350f939a1c1bec906a65a50536d80780ab9 (diff) |
Fixed small bug with my bug fix ;-)
-rw-r--r-- | mbw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |