Просмотр исходного кода

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

master
Mike Hamburg 8 лет назад
Родитель
Сommit
8d9c810136
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/decaf.c

+ 1
- 1
src/decaf.c Просмотреть файл

@@ -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;


Загрузка…
Отмена
Сохранить