Fix compiling on MS VS 2022 (64-Bit) without type conversion warnings

This commit is contained in:
Simon Goldschmidt
2026-05-12 21:29:38 +02:00
parent 0c3a93efe3
commit c4d3527a11
5 changed files with 19 additions and 13 deletions

View File

@@ -1919,7 +1919,7 @@ int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secre
}
MEMCPY(secret, pcb->settings.passwd, len);
*secret_len = len;
*secret_len = (int)len;
return 1;
#if 0 /* UNUSED */