Skip to content

Commit

Permalink
Merge pull request #638 from rhenium/ky/pkey-fix-warning-single-bit-b…
Browse files Browse the repository at this point in the history
…itfield-constant-conversion

pkey: use unsigned type for bit fields
  • Loading branch information
rhenium authored Jun 7, 2023
2 parents cdec3c7 + 4b2ba7b commit 7757447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/openssl/ossl_pkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7757447

Please sign in to comment.