mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-03-03 18:29:17 +01:00
change int to size_t
This commit is contained in:
parent
c2a6b9c948
commit
fe8eb203d9
2
util.c
2
util.c
@ -62,7 +62,7 @@ get_user_cfgfile_path(const char *common_path, const char *filename, const char
|
|||||||
*/
|
*/
|
||||||
struct passwd *p;
|
struct passwd *p;
|
||||||
char *userfile;
|
char *userfile;
|
||||||
int len;
|
size_t len;
|
||||||
|
|
||||||
if (common_path != NULL) {
|
if (common_path != NULL) {
|
||||||
len = strlen(common_path) + 1 + strlen(filename) + 1;
|
len = strlen(common_path) + 1 + strlen(filename) + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user