diff --git a/ChangeLog b/ChangeLog index e67e1972..1fa03eaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 12/16/2024 - http: report errors when curl_easy_setopt fails and improve macro usage - code: declare enum members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning +- code: declare memcache members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning 12/15/2024 - add Coverity Github action diff --git a/src/cfg/cfg_int.h b/src/cfg/cfg_int.h index 89f4d593..c5fcb9c0 100644 --- a/src/cfg/cfg_int.h +++ b/src/cfg/cfg_int.h @@ -87,14 +87,14 @@ struct oidc_cfg_cache_t { /* cache_type= memcache: list of memcache host/port servers to use */ char *memcache_servers; /* cache_type= memcache: minimum number of connections to each memcache server per process*/ - apr_uint32_t memcache_min; + int memcache_min; /* cache_type= memcache: soft maximum number of connections to each memcache server per process */ - apr_uint32_t memcache_smax; + int memcache_smax; /* cache_type= memcache: hard maximum number of connections to each memcache server per process */ - apr_uint32_t memcache_hmax; + int memcache_hmax; /* cache_type= memcache: maximum time in microseconds a connection to a memcache server can be idle before being * closed */ - apr_uint32_t memcache_ttl; + int memcache_ttl; #endif /*