From 7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 11 Jul 2019 13:33:31 +0900 Subject: Fix signedness for a single-bit field. * src/gpgrt-int.h (struct _gpgrt_b64state): Use unsigned for bit flags. Signed-off-by: NIIBE Yutaka --- src/gpgrt-int.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h index a13f5fb..718b62c 100644 --- a/src/gpgrt-int.h +++ b/src/gpgrt-int.h @@ -504,9 +504,9 @@ struct _gpgrt_b64state unsigned int crc; gpg_err_code_t lasterr; unsigned int flags; - int stop_seen:1; - int invalid_encoding:1; - int using_decoder:1; + unsigned int stop_seen:1; + unsigned int invalid_encoding:1; + unsigned int using_decoder:1; }; gpgrt_b64state_t _gpgrt_b64enc_start (estream_t stream, const char *title); -- cgit v1.2.3