mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Replace MemSet with memset.
This commit is contained in:
@ -190,7 +190,7 @@ void IcmpStartup () {
|
||||
IcmpCreateFile = (FIcmpCreateFile)GetProcAddress(g_lib, "IcmpCreateFile");
|
||||
IcmpSendEcho = (FIcmpSendEcho)GetProcAddress(g_lib, "IcmpSendEcho");
|
||||
}
|
||||
MemSet(s_payload, (uint8_t)((uintptr_t)&s_payload >> 4), arrsize(s_payload));
|
||||
memset(s_payload, (uint8_t)((uintptr_t)&s_payload >> 4), arrsize(s_payload));
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
@ -605,7 +605,7 @@ static void StartAuthTcpTest (
|
||||
void * param
|
||||
) {
|
||||
if (0 == AtomicSet(&s_authProtocolRegistered, 1)) {
|
||||
MemSet(
|
||||
memset(
|
||||
s_payload,
|
||||
(uint8_t)((uintptr_t)&s_payload >> 4),
|
||||
sizeof(s_payload)
|
||||
|
Reference in New Issue
Block a user