summaryrefslogtreecommitdiff
path: root/src/core/stdchat
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdchat')
-rw-r--r--src/core/stdchat/src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdchat/src/log.cpp b/src/core/stdchat/src/log.cpp
index 2ba54448ac..b247fb9029 100644
--- a/src/core/stdchat/src/log.cpp
+++ b/src/core/stdchat/src/log.cpp
@@ -36,7 +36,7 @@ static DWORD CALLBACK Log_StreamCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG
// give the RTF to the RE control
*pcb = min(cb, lstrdat->bufferLen - lstrdat->bufferOffset);
- CopyMemory(pbBuff, lstrdat->buffer + lstrdat->bufferOffset, *pcb);
+ memcpy(pbBuff, lstrdat->buffer + lstrdat->bufferOffset, *pcb);
lstrdat->bufferOffset += *pcb;
// free stuff if the streaming operation is complete