From 778b91dc59929025d80a5f3acee55bcbcd19dacb Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Thu, 19 Jul 2012 09:01:24 +0300 Subject: [PATCH] Fixed warning --- Library/DialogManage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/DialogManage.cpp b/Library/DialogManage.cpp index 2791e699..20bd4d2b 100644 --- a/Library/DialogManage.cpp +++ b/Library/DialogManage.cpp @@ -787,7 +787,7 @@ void CDialogManage::CTabSkins::SelectTreeItem(HWND tree, HTREEITEM item, LPCWSTR const WCHAR* pos = wcschr(name, L'\\'); if (pos) { - const int folderLen = pos - name; + const int folderLen = (int)(pos - name); tvi.cchTextMax = folderLen + 1; // Length of folder name plus 1 for NULL // Find and expand the folder