Skip to content

Commit

Permalink
mod_auth_bearer: Fix warning about signed bitfields. BZ 68294
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ylavic committed Dec 5, 2023

Verified

This commit was signed with the committer’s verified signature.
johnbillion John Blackbourn
1 parent cc796e2 commit d6954a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/aaa/mod_auth_bearer.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit d6954a8

Please sign in to comment.