From e79322ef0add87fe2abd0de09f1ff673a60f844c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 23:15:42 +0000 Subject: [PATCH] fix format mismatch warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextindentspage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/richtext/richtextindentspage.cpp b/src/richtext/richtextindentspage.cpp index 9175242a9d..4630a94fe0 100644 --- a/src/richtext/richtextindentspage.cpp +++ b/src/richtext/richtextindentspage.cpp @@ -416,8 +416,8 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow() if (attr->HasLeftIndent()) { - wxString leftIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent() + attr->GetLeftSubIndent())); - wxString leftFirstIndent(wxString::Format(wxT("%d"), attr->GetLeftIndent())); + wxString leftIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent() + attr->GetLeftSubIndent())); + wxString leftFirstIndent(wxString::Format(wxT("%ld"), attr->GetLeftIndent())); m_indentLeft->SetValue(leftIndent); m_indentLeftFirst->SetValue(leftFirstIndent); @@ -430,7 +430,7 @@ bool wxRichTextIndentsSpacingPage::TransferDataToWindow() if (attr->HasRightIndent()) { - wxString rightIndent(wxString::Format(wxT("%d"), attr->GetRightIndent())); + wxString rightIndent(wxString::Format(wxT("%ld"), attr->GetRightIndent())); m_indentRight->SetValue(rightIndent); }