Skip to content

Commit 1d88ea4

Browse files
authored
Adjust return type for get_runtime_var_size_t to match use and name. (#308)
Based on splint warnings: it looks like I simply forgot to adjust the return type to `type_t` when creating the function through copy/paste of the similar `get_runtime_var_int`.
2 parents 9a6d025 + c48a29e commit 1d88ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mig/src/include/auth/migauth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static const int get_runtime_var_int(const char *env_name,
287287
return atoi(get_runtime_var(env_name, conf_name, val_str));
288288
}
289289

290-
static const int get_runtime_var_size_t(const char *env_name,
290+
static const size_t get_runtime_var_size_t(const char *env_name,
291291
const char *conf_name,
292292
const int define_val)
293293
{

0 commit comments

Comments
 (0)