Fixed warning

This commit is contained in:
Birunthan Mohanathas 2012-07-19 09:01:24 +03:00
parent 133a8cafc5
commit 778b91dc59

View File

@ -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