summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src
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/SpellChecker/src
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/SpellChecker/src')
-rw-r--r--plugins/SpellChecker/src/RichEdit.h2
-rw-r--r--plugins/SpellChecker/src/dictionary.cpp4
2 files changed, 3 insertions, 3 deletions
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<Dictionary> &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<Dictionary> &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;