From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/MimCmd/src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MimCmd') 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";"); -- cgit v1.2.3