summaryrefslogtreecommitdiff
path: root/src/libbiguint/bu_slbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libbiguint/bu_slbc.c')
-rw-r--r--src/libbiguint/bu_slbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libbiguint/bu_slbc.c b/src/libbiguint/bu_slbc.c
index d87af36..a39ef15 100644
--- a/src/libbiguint/bu_slbc.c
+++ b/src/libbiguint/bu_slbc.c
@@ -3,13 +3,13 @@
#include <stdint.h>
#include <skalibs/biguint.h>
-int bu_slbc (register uint32_t *a, register unsigned int n, register int carry)
+int bu_slbc (uint32_t *a, unsigned int n, int carry)
{
- register unsigned int i = 0 ;
+ unsigned int i = 0 ;
carry = !!carry ;
for (; i < n ; i++)
{
- register int c = a[i] >> 31 ;
+ int c = a[i] >> 31 ;
a[i] = (a[i] << 1) | carry ;
carry = c ;
}