]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed harmless signed/unsigned comparison warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Nov 2005 15:18:07 +0000 (15:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Nov 2005 15:18:07 +0000 (15:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/notebmac.cpp

index f242b9195653b013d9ef99cbe7ddf311bce6b573..74e38246e6a10ef75d954db170667db3e528b335 100644 (file)
@@ -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;