From 49d8fa1058aaf23c29e074b2314492ae40d2f557 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 21 Feb 2017 12:05:07 +0000 Subject: Types change: big pass on libstddjb and libunixonacid libdatastruct still missing, library still not functional --- src/libbiguint/bu_mul.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libbiguint/bu_mul.c') 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 ; -- cgit v1.2.3