From 282b0198ecabc69b1aa9adc9bc839b6a9dea2967 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Thu, 9 May 2013 22:43:05 -0400 Subject: [PATCH] [libfko] changed 'state' context element to 'int' type to fix a 'extra high-order bits' bug found by Coverity --- lib/fko_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fko_context.h b/lib/fko_context.h index 8bc91380..9b9dce2a 100644 --- a/lib/fko_context.h +++ b/lib/fko_context.h @@ -94,7 +94,7 @@ struct fko_context { int added_gpg_prefix; /* State info */ - unsigned short state; + unsigned int state; unsigned char initval; #if HAVE_LIBGPGME