diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-12 18:28:12 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-12 18:28:12 +0000 |
commit | 02899659835bd6352f42a90a344b1de896f6a6a8 (patch) | |
tree | 7180775a9005a3f10d7f208129c3f831c558917a /plugins/SpellChecker/src/dictionary.cpp | |
parent | 4e02f499326971bce39ee041f336043431ad3913 (diff) |
SpellChecker: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/dictionary.cpp')
-rw-r--r-- | plugins/SpellChecker/src/dictionary.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index 44597254e0..64adc2f33a 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "commons.h" @@ -841,7 +841,7 @@ void GetHunspellDictionariesFromFolder(LIST<Dictionary> &dicts, TCHAR *path, TCH TCHAR *lang = ffd.cFileName; // Replace - for _ - for (int i = 0; i < mir_tstrlen(lang); i++) + for (size_t i = 0; i < mir_tstrlen(lang); i++) if (lang[i] == _T('-')) lang[i] = _T('_'); @@ -856,8 +856,7 @@ void GetHunspellDictionariesFromFolder(LIST<Dictionary> &dicts, TCHAR *path, TCH file[mir_tstrlen(file) - 4] = _T('\0'); dicts.insert(new HunspellDictionary(lang, file, user_path, source)); } - } - while (FindNextFile(hFFD, &ffd)); + } while (FindNextFile(hFFD, &ffd)); FindClose(hFFD); } |