summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/data.cpp')
-rw-r--r--plugins/MyDetails/src/data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index b6a4c95ecf..da53008a27 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -80,7 +80,7 @@ void Protocol::lcopystr(wchar_t *dest, wchar_t *src, size_t maxlen)
{
if (mir_wstrcmp(dest, src) != 0) {
data_changed = true;
- mir_wstrncpy(dest, src, (DWORD)maxlen);
+ mir_wstrncpy(dest, src, (uint32_t)maxlen);
}
}