mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed warning
This commit is contained in:
parent
133a8cafc5
commit
778b91dc59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user