소스 검색

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

master
Mike Hamburg 8 년 전
부모
커밋
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;


불러오는 중...
취소
저장