summaryrefslogtreecommitdiff
path: root/plugins/MimCmd/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MimCmd/src')
-rwxr-xr-xplugins/MimCmd/src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MimCmd/src/commands.cpp b/plugins/MimCmd/src/commands.cpp
index a336784e76..ec18b162f3 100755
--- a/plugins/MimCmd/src/commands.cpp
+++ b/plugins/MimCmd/src/commands.cpp
@@ -41,9 +41,9 @@ int ConnectToMiranda()
if (p) p[1] = 0;
wcsncat_s(tszPath, L"libs", _TRUNCATE);
- DWORD cbPath = (DWORD)wcslen(tszPath);
+ uint32_t cbPath = (uint32_t)wcslen(tszPath);
- DWORD cbSize = GetEnvironmentVariable(L"PATH", nullptr, 0);
+ uint32_t cbSize = GetEnvironmentVariable(L"PATH", nullptr, 0);
wchar_t *ptszVal = new wchar_t[cbSize + MAX_PATH + 2];
wcscpy(ptszVal, tszPath);
wcscat(ptszVal, L";");