From 1aa81b1712a8a07639b1ec117ccc9ed6e2a058a2 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 18 Feb 2004 17:24:12 +0000 Subject: [PATCH] Removed warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/dirctrlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 2c596b3535..285f579df4 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -1680,7 +1680,7 @@ int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime) const unsigned int size = 16; int id = m_smallImageList->GetImageCount(); - if ((bmp.GetWidth() == size) && (bmp.GetHeight() == size)) + if ((bmp.GetWidth() == (int) size) && (bmp.GetHeight() == (int) size)) { m_smallImageList->Add(bmp); } -- 2.45.2