From 8d9c810136adad000102920db0574821bcbb6d40 Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Fri, 29 Jan 2016 13:03:33 -0800 Subject: [PATCH] make position unsigned so that the assertion means something (thx gcc) --- src/decaf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decaf.c b/src/decaf.c index f4bb0a9..844a779 100644 --- a/src/decaf.c +++ b/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;