diff options
author | xhmikosr <xhmikosr@yahoo.com> | 2012-08-04 18:49:24 +0400 |
---|---|---|
committer | xhmikosr <xhmikosr@yahoo.com> | 2012-08-04 22:33:47 +0400 |
commit | 6c471060af5c707be9b40d34f1ed1d7ba212d61f (patch) | |
tree | a1f18089b08f7615c7245a202efd870bc26c69bb /src/thirdparty/TreePropSheet | |
parent | fbd4c874c93115118cf82843f60a2ed1d65e64ab (diff) |
TreePropSheet.cpp: silence a C4244 warning
Diffstat (limited to 'src/thirdparty/TreePropSheet')
-rw-r--r-- | src/thirdparty/TreePropSheet/TreePropSheet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thirdparty/TreePropSheet/TreePropSheet.cpp b/src/thirdparty/TreePropSheet/TreePropSheet.cpp index ec001a3c1..06a5a29da 100644 --- a/src/thirdparty/TreePropSheet/TreePropSheet.cpp +++ b/src/thirdparty/TreePropSheet/TreePropSheet.cpp @@ -934,7 +934,7 @@ void CTreePropSheet::OnPageTreeSelChanging(NMHDR *pNotifyStruct, LRESULT *plResu m_bPageTreeSelChangedActive = TRUE;
NMTREEVIEW *pTvn = reinterpret_cast<NMTREEVIEW*>(pNotifyStruct);
- int nPage = m_pwndPageTree->GetItemData(pTvn->itemNew.hItem);
+ int nPage = (int)m_pwndPageTree->GetItemData(pTvn->itemNew.hItem);
BOOL bResult;
if (nPage<0 || (unsigned)nPage>=m_pwndPageTree->GetCount())
bResult = KillActiveCurrentPage();
|