diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-12-05 18:45:24 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-12-05 18:45:24 +0100 |
commit | d6954a869a83559230b2f9921ceed5f66ab3d8e7 (patch) | |
tree | d6034f97d5fea40bd7707c4988da09d897e18506 /modules/aaa | |
parent | mod_ssl: Add support for loading keys from OpenSSL 3.x providers via (diff) | |
download | apache2-d6954a869a83559230b2f9921ceed5f66ab3d8e7.tar.xz apache2-d6954a869a83559230b2f9921ceed5f66ab3d8e7.zip |
mod_auth_bearer: Fix warning about signed bitfields. BZ 68294
clang reports: implicit truncation from 'int' to a one-bit wide bit-field
changes value from 1 to -1
Change authoritative_set and proxy_set bitfields to unsigned.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914367 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r-- | modules/aaa/mod_auth_bearer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aaa/mod_auth_bearer.c b/modules/aaa/mod_auth_bearer.c index 3c6804dc0f..d127e1d7c3 100644 --- a/modules/aaa/mod_auth_bearer.c +++ b/modules/aaa/mod_auth_bearer.c @@ -44,8 +44,8 @@ typedef struct { autht_provider_list *providers; int authoritative; ap_expr_info_t *proxy; - int authoritative_set:1; - int proxy_set:1; + unsigned int authoritative_set:1; + unsigned int proxy_set:1; } auth_bearer_config_rec; static void *create_auth_bearer_dir_config(apr_pool_t *p, char *d) |