compiler warning

This commit is contained in:
john30
2017-02-04 12:11:53 +01:00
parent 60f2003c82
commit a1024222ef
+1 -1
View File
@@ -232,7 +232,7 @@ int on_keypassword(char *buf, int size, int rwflag, void *userdata) {
if (!g_keypass) {
return 0;
}
int len = strlen(g_keypass);
size_t len = strlen(g_keypass);
if (len>size) {
len = size;
}