From 35024626a424617ef29f15c4fa33c630b7042bc5 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 7 Sep 2008 16:28:38 +0000 Subject: Use i instead of j for iterator var --- src/mp_mulop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3