]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed warnings due to use of %d for long int params in function
authorGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 26 Aug 2002 22:54:25 +0000 (22:54 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 26 Aug 2002 22:54:25 +0000 (22:54 +0000)
wxNativeFontInfo::ToString()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/font.cpp

index 918e7c06d28ffad9b7a3e5bf675200792be5d736..c1d032c4760d29dbee3ac4eb88c86348a81bb8c2 100644 (file)
@@ -635,7 +635,7 @@ wxString wxNativeFontInfo::ToString() const
 {
     wxString s;
 
-    s.Printf(_T("%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%s"),
+    s.Printf(_T("%d;%ld;%ld;%ld;%ld;%ld;%d;%d;%d;%d;%d;%d;%d;%d;%s"),
              0, // version, in case we want to change the format later
              lf.lfHeight,
              lf.lfWidth,