summaryrefslogtreecommitdiff
path: root/plugins/MimCmd
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /plugins/MimCmd
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/MimCmd')
-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";");