From 861cabec0529cc44e7d8741629bbfa9701dd40ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Feb 2013 21:09:39 +0000 Subject: - crash fix in hunspell - warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@3493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SpellChecker/src/options.cpp') diff --git a/plugins/SpellChecker/src/options.cpp b/plugins/SpellChecker/src/options.cpp index 5a1f8e29b7..844ec42390 100644 --- a/plugins/SpellChecker/src/options.cpp +++ b/plugins/SpellChecker/src/options.cpp @@ -312,7 +312,7 @@ static void LoadReplacements(HWND hwndDlg) item.iItem = i; item.iSubItem = 0; item.pszText = (TCHAR *) it->first.c_str(); - item.cchTextMax = it->first.length(); + item.cchTextMax = (int)it->first.length(); item.lParam = i; ListView_InsertItem(hList, &item); -- cgit v1.2.3