diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 918e7c06d2..c1d032c476 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -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,