1
0
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:
Darryl Pogue
2012-01-21 15:39:10 -08:00
committed by Adam Johnson
parent 12ac9a79be
commit f4ff65ccbc
8 changed files with 12 additions and 12 deletions

View File

@ -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));
}
//============================================================================

View File

@ -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)