diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2023-06-07 14:56:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 14:56:52 +0900 |
commit | 775744790356c73be6f0428ac1e59404e19e518a (patch) | |
tree | 7b17c0220d196b645220735aa378ff3d47d429f2 | |
parent | cdec3c7dec329ebe4ea8b13dc08f7b2deae84d64 (diff) | |
parent | 4b2ba7b02278702b51a41b81505f9adec5dcfecd (diff) | |
download | ruby-openssl-775744790356c73be6f0428ac1e59404e19e518a.tar.gz |
Merge pull request #638 from rhenium/ky/pkey-fix-warning-single-bit-bitfield-constant-conversion
pkey: use unsigned type for bit fields
-rw-r--r-- | ext/openssl/ossl_pkey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c index a5baa218..9caeb562 100644 --- a/ext/openssl/ossl_pkey.c +++ b/ext/openssl/ossl_pkey.c @@ -276,9 +276,9 @@ struct pkey_blocking_generate_arg { EVP_PKEY_CTX *ctx; EVP_PKEY *pkey; int state; - int yield: 1; - int genparam: 1; - int interrupted: 1; + unsigned int yield: 1; + unsigned int genparam: 1; + unsigned int interrupted: 1; }; static VALUE |