aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 2e7e3f83..d14802a1 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1094,7 +1094,7 @@ function makeCopyValues(dest, src, num, type, modifier, align) {
return unroll(type, num);
}
return 'for (var $$i = 0; $$i < ' + num + '; $$i++) {\n' +
- makeSetValue(dest, '$$i', makeGetValue(src, i*jump, type), type) + '\n}';
+ makeSetValue(dest, '$$i', makeGetValue(src, i, type), type) + '\n}';
} else { // USE_TYPED_ARRAYS == 2
// If we don't know how to handle this at compile-time, or handling it is best done in a large amount of code, call memset
if (!isNumber(num) || (align < 4 && parseInt(num) >= SEEK_OPTIMAL_ALIGN_MIN)) {