diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2019-07-11 13:33:31 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2019-07-11 13:33:31 +0900 |
commit | 7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c (patch) | |
tree | 5c50b4f4eaa8c0b1b09cea4f9a5b9b66acb726ae | |
parent | 382fddc151fd42cd6d1d02dbedb7b5031cc68958 (diff) | |
download | libgpg-error-7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c.tar.gz |
Fix signedness for a single-bit field.
* src/gpgrt-int.h (struct _gpgrt_b64state): Use unsigned for bit flags.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r-- | src/gpgrt-int.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |