From 46698bf4c869a239cd4555c11bd6dfd57334d096 Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Tue, 30 Apr 2019 11:04:37 +0200 Subject: [PATCH] Prevent unnecessary type coercion --- crypto_sign/mqdss-48/clean/sign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto_sign/mqdss-48/clean/sign.c b/crypto_sign/mqdss-48/clean/sign.c index 33971fbb..38de45dc 100644 --- a/crypto_sign/mqdss-48/clean/sign.c +++ b/crypto_sign/mqdss-48/clean/sign.c @@ -107,7 +107,7 @@ int PQCLEAN_MQDSS48_CLEAN_crypto_sign_signature( unsigned char c[HASH_BYTES * ROUNDS * 2]; gf31 alpha; int alpha_count = 0; - unsigned char b; + int b; int i, j; uint64_t s_inc[26]; @@ -251,7 +251,7 @@ int PQCLEAN_MQDSS48_CLEAN_crypto_sign_verify( int i, j; gf31 alpha; int alpha_count = 0; - unsigned char b; + int b; uint64_t s_inc[26]; if (siglen != SIG_LEN) {