Browse Source

make position unsigned so that the assertion means something (thx gcc)

master
Mike Hamburg 8 years ago
parent
commit
8d9c810136
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/decaf.c

+ 1
- 1
src/decaf.c View File

@@ -1704,7 +1704,7 @@ static int recode_wnaf (
unsigned int tableBits
) {
unsigned int table_size = SCALAR_BITS/(tableBits+1) + 3;
unsigned int position = table_size - 1; /* at the end */
int position = table_size - 1; /* at the end */
/* place the end marker */
control[position].power = -1;


Loading…
Cancel
Save