diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-16 15:19:55 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-16 15:19:55 +0400 |
commit | 756d471d12a45aed292cce7ae7d77597ed931b69 (patch) | |
tree | 8e4adb10afa1fc51165adcf299c757651d7fe7c8 /src/thirdparty/ResizableLib | |
parent | 7306eed42a17242cd7b3d8ea618bdd4de2d5efcb (diff) |
ResizableLib/ResizableLayout.cpp: fix a couple C4244 warnings
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5500 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/ResizableLib')
-rw-r--r-- | src/thirdparty/ResizableLib/ResizableLayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thirdparty/ResizableLib/ResizableLayout.cpp b/src/thirdparty/ResizableLib/ResizableLayout.cpp index 8bbf9c4c1..49fad7ead 100644 --- a/src/thirdparty/ResizableLib/ResizableLayout.cpp +++ b/src/thirdparty/ResizableLib/ResizableLayout.cpp @@ -118,8 +118,8 @@ void CResizableLayout::ArrangeLayout() LayoutInfo layout;
CRect rectParent, rectChild;
GetTotalClientRect(&rectParent); // get parent window's rect
- int count = m_listLayout.GetCount();
- int countCB = m_listLayoutCB.GetCount();
+ int count = (int)m_listLayout.GetCount();
+ int countCB = (int)m_listLayoutCB.GetCount();
// reposition child windows
HDWP hdwp = ::BeginDeferWindowPos(count + countCB);
|