summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/services.cpp')
-rw-r--r--plugins/Popup/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/services.cpp b/plugins/Popup/src/services.cpp
index 92b97f1b24..6e360ae165 100644
--- a/plugins/Popup/src/services.cpp
+++ b/plugins/Popup/src/services.cpp
@@ -107,7 +107,7 @@ INT_PTR Popup_AddPopup2(WPARAM wParam, LPARAM lParam)
POPUPDATA2 ppdFixed = {0};
POPUPDATA2 *ppd = &ppdFixed;
- CopyMemory(ppd, ppdIn, min(ppdIn->cbSize, sizeof(POPUPDATA2)));
+ memcpy(ppd, ppdIn, min(ppdIn->cbSize, sizeof(POPUPDATA2)));
DWORD disableWhen;
FillNotificationData(ppd, &disableWhen);