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/SpellChecker/src/RichEdit.h | 2 +- plugins/SpellChecker/src/dictionary.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SpellChecker') diff --git a/plugins/SpellChecker/src/RichEdit.h b/plugins/SpellChecker/src/RichEdit.h index 17ebe1e438..e65f04d3cf 100644 --- a/plugins/SpellChecker/src/RichEdit.h +++ b/plugins/SpellChecker/src/RichEdit.h @@ -12,7 +12,7 @@ class RichEdit POINT m_old_scroll_pos; CHARRANGE m_old_sel; POINT m_caretPos; - DWORD m_old_mask; + uint32_t m_old_mask; BOOL m_inverse; public: diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index 28b412000e..4c251a6682 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -815,7 +815,7 @@ void GetHunspellDictionariesFromFolder(LIST &dicts, wchar_t *path, w mir_snwprintf(file, L"%s\\%s", path, ffd.cFileName); // Check .dic - DWORD attrib = GetFileAttributes(file); + uint32_t attrib = GetFileAttributes(file); if (attrib == 0xFFFFFFFF || (attrib & FILE_ATTRIBUTE_DIRECTORY)) continue; @@ -882,7 +882,7 @@ void GetAvaibleDictionaries(LIST &dicts, wchar_t *path, wchar_t *use numValues = 0; lResult = ERROR_NO_MORE_ITEMS; - for (DWORD local = 0; local < numValues; local++) { + for (uint32_t local = 0; local < numValues; local++) { DWORD cchValue = _countof(key); if (ERROR_SUCCESS != RegEnumValue(hKey, local, key, &cchValue, nullptr, nullptr, nullptr, nullptr)) break; -- cgit v1.2.3