From 61ad154c0146285f027db943e6aae33f20310a20 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 11 Mar 2005 11:19:03 +0000 Subject: [PATCH] Unix compilation warning fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/debugrpt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 10597eb4eb..ef86029ab8 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -85,7 +85,7 @@ protected: static inline void HexProperty(wxXmlNode *node, const wxChar *name, unsigned long value) { - node->AddProperty(name, wxString::Format(_T("%08x"), value)); + node->AddProperty(name, wxString::Format(_T("%08lx"), value)); } static inline void @@ -105,7 +105,7 @@ TextElement(wxXmlNode *node, const wxChar *name, const wxString& value) static inline void HexElement(wxXmlNode *node, const wxChar *name, unsigned long value) { - TextElement(node, name, wxString::Format(_T("%08x"), value)); + TextElement(node, name, wxString::Format(_T("%08lx"), value)); } #if wxUSE_STACKWALKER @@ -187,7 +187,7 @@ wxDebugReport::wxDebugReport() wxFileName fn; fn.AssignTempFileName(appname); m_dir.Printf(_T("%s%c%s_dbgrpt-%lu-%s"), - fn.GetPath(), wxFILE_SEP_PATH, appname.c_str(), + fn.GetPath().c_str(), wxFILE_SEP_PATH, appname.c_str(), wxGetProcessId(), wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str());