]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed a harmless warning about $d in sprintf and long argument
authorGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 13 Mar 2000 13:52:49 +0000 (13:52 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 13 Mar 2000 13:52:49 +0000 (13:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ole/dataobj.cpp

index a3ca1b1b3c30b28ec24192173c0b4fd4302ef28c..fdcae65b8b9dc5e3662b702b8afdaac3069632dc 100644 (file)
@@ -1182,7 +1182,7 @@ static const wxChar *GetTymedName(DWORD tymed)
         case TYMED_MFPICT:    return wxT("TYMED_MFPICT");
         case TYMED_ENHMF:     return wxT("TYMED_ENHMF");
         default:
-            wxSprintf(s_szBuf, wxT("type of media format %d (unknown)"), tymed);
+            wxSprintf(s_szBuf, wxT("type of media format %ld (unknown)"), tymed);
             return s_szBuf;
     }
 }