]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc signed/unsigned comparison fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Oct 2006 23:16:37 +0000 (23:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Oct 2006 23:16:37 +0000 (23:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/printdlg.cpp

index e692c3104b0aa7c8f8cbeb2194f232b1515d568d..d88ae7e859e912599e92aad7029e26a86cf5989b 100644 (file)
@@ -200,7 +200,7 @@ bool wxWindowsPrintNativeData::TransferTo( wxPrintData &data )
         }
         if (devMode->dmFields & DM_MEDIATYPE)
         {
-            wxASSERT(devMode->dmMediaType != wxPRINTMEDIA_DEFAULT);
+            wxASSERT( (int)devMode->dmMediaType != wxPRINTMEDIA_DEFAULT );
             data.SetMedia(devMode->dmMediaType);
         }
         //// Printer name