Skip to content

Commit 2dbde25

Browse files
committed
code: declare memcache members as int
so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 6d56bd8 commit 2dbde25

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
12/16/2024
22
- http: report errors when curl_easy_setopt fails and improve macro usage
33
- code: declare enum members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning
4+
- code: declare memcache members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning
45

56
12/15/2024
67
- add Coverity Github action

src/cfg/cfg_int.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ struct oidc_cfg_cache_t {
8787
/* cache_type= memcache: list of memcache host/port servers to use */
8888
char *memcache_servers;
8989
/* cache_type= memcache: minimum number of connections to each memcache server per process*/
90-
apr_uint32_t memcache_min;
90+
int memcache_min;
9191
/* cache_type= memcache: soft maximum number of connections to each memcache server per process */
92-
apr_uint32_t memcache_smax;
92+
int memcache_smax;
9393
/* cache_type= memcache: hard maximum number of connections to each memcache server per process */
94-
apr_uint32_t memcache_hmax;
94+
int memcache_hmax;
9595
/* cache_type= memcache: maximum time in microseconds a connection to a memcache server can be idle before being
9696
* closed */
97-
apr_uint32_t memcache_ttl;
97+
int memcache_ttl;
9898
#endif
9999

100100
/*

0 commit comments

Comments
 (0)