aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp_mulop.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-07 16:28:38 +0000
committerlloyd <[email protected]>2008-09-07 16:28:38 +0000
commit35024626a424617ef29f15c4fa33c630b7042bc5 (patch)
tree4feea1e8883766743b531de41f4fdf7ddb44428e /src/mp_mulop.cpp
parentf59a51317a39a1690a4a841f5eb063696e3c8a14 (diff)
Use i instead of j for iterator var
Diffstat (limited to 'src/mp_mulop.cpp')
-rw-r--r--src/mp_mulop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mp_mulop.cpp b/src/mp_mulop.cpp
index 59d82bb10..90449d9ff 100644
--- a/src/mp_mulop.cpp
+++ b/src/mp_mulop.cpp
@@ -20,11 +20,11 @@ word bigint_mul_add_words(word z[], const word x[], u32bit x_size, word y)
word carry = 0;
- for(u32bit j = 0; j != blocks; j += 8)
- carry = word8_madd3(z + j, x + j, y, carry);
+ for(u32bit i = 0; i != blocks; i += 8)
+ carry = word8_madd3(z + i, x + i, y, carry);
- for(u32bit j = blocks; j != x_size; ++j)
- z[j] = word_madd3(x[j], y, z[j], &carry);
+ for(u32bit i = blocks; i != x_size; ++i)
+ z[i] = word_madd3(x[i], y, z[i], &carry);
return carry;
}