aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgrt-int.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-11 04:33:31 +0000
committerNIIBE Yutaka <[email protected]>2019-07-11 04:33:31 +0000
commit7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c (patch)
tree5c50b4f4eaa8c0b1b09cea4f9a5b9b66acb726ae /src/gpgrt-int.h
parentestream: Add missing malloc check. (diff)
downloadlibgpg-error-7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c.tar.gz
libgpg-error-7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c.zip
Fix signedness for a single-bit field.
* src/gpgrt-int.h (struct _gpgrt_b64state): Use unsigned for bit flags. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/gpgrt-int.h')
-rw-r--r--src/gpgrt-int.h6
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);