summaryrefslogtreecommitdiff
path: root/src/libbiguint/bu_mul.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-02-21 12:05:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-02-21 12:05:07 +0000
commit49d8fa1058aaf23c29e074b2314492ae40d2f557 (patch)
tree393f884d5a99f984e992a0f35f1b02ac43536217 /src/libbiguint/bu_mul.c
parentfdffefb8032922ce7ffe4c00816072a8ff2148fc (diff)
downloadskalibs-49d8fa1058aaf23c29e074b2314492ae40d2f557.tar.xz
Types change: big pass on libstddjb and libunixonacid
libdatastruct still missing, library still not functional
Diffstat (limited to 'src/libbiguint/bu_mul.c')
-rw-r--r--src/libbiguint/bu_mul.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libbiguint/bu_mul.c b/src/libbiguint/bu_mul.c
index 45d0efe..16043fd 100644
--- a/src/libbiguint/bu_mul.c
+++ b/src/libbiguint/bu_mul.c
@@ -11,15 +11,15 @@ int bu_mul (uint32_t *x, unsigned int xn, uint32_t const *a, unsigned int an, ui
unsigned int alen = bu_len(a, an) ;
unsigned int blen = bu_len(b, bn) ;
uint32_t c[alen + blen] ;
- register unsigned int i = 0 ;
+ unsigned int i = 0 ;
bu_zero(c, alen + blen) ;
for (; i < alen ; i++)
{
- register uint32_t carry = 0 ;
- register unsigned int j = 0 ;
+ uint32_t carry = 0 ;
+ unsigned int j = 0 ;
for (; j < blen ; j++)
{
- register uint64 t = a[i] ;
+ uint64_t t = a[i] ;
t *= b[j] ;
t += c[i+j] ;
t += carry ;