mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 12:24:22 +00:00
Replace C++ comment with standard C comment to avoid error during building with -Werror.
This commit is contained in:
parent
124dc0a64e
commit
52b4649636
@ -101,7 +101,7 @@ lwip_port_rand(void)
|
|||||||
if (CryptGenRandom(hcrypt, sizeof(ret), (BYTE*)&ret)) {
|
if (CryptGenRandom(hcrypt, sizeof(ret), (BYTE*)&ret)) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
// maybe CryptAcquireContext has not been called...
|
/* maybe CryptAcquireContext has not been called... */
|
||||||
sys_win_rand_init();
|
sys_win_rand_init();
|
||||||
if (CryptGenRandom(hcrypt, sizeof(ret), (BYTE*)&ret)) {
|
if (CryptGenRandom(hcrypt, sizeof(ret), (BYTE*)&ret)) {
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user