mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-07 16:13:38 +08:00
Fix compiling on MS VS 2022 (64-Bit) without type conversion warnings
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user