From f885b81573978dcd087ba036f8e93e06280ee419 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Nov 2005 15:18:07 +0000 Subject: [PATCH] fixed harmless signed/unsigned comparison warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/notebmac.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index f242b91956..74e38246e6 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -369,11 +369,12 @@ int wxNotebook::HitTest(const wxPoint& pt, long * flags) const } } - if ( outPart >= 1 && outPart <= countPages ) + if ( outPart >= 1 && (size_t)outPart <= countPages ) { resultV = outPart ; } -#endif +#endif // TARGET_API_MAC_OSX + if (flags != NULL) { *flags = 0;