Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv21554/src/gui
Modified Files:
wxComposeView.cpp wxFolderView.cpp
Log Message:
printf format warnings fixes
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.288
retrieving revision 1.289
diff -b -u -2 -r1.288 -r1.289
--- wxComposeView.cpp 2 Jul 2002 22:09:34 -0000 1.288
+++ wxComposeView.cpp 3 Jul 2002 00:14:25 -0000 1.289
@@ -3827,5 +3827,5 @@
// file is always going to be deleted if we're destroyed correctly, it
// can only be left if the program crashes
- m_filenameAutoSave = name + String::Format("%05d%08x", getpid(), this);
+ m_filenameAutoSave = name + String::Format("%05d%p", getpid(), this);
}
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.590
retrieving revision 1.591
diff -b -u -2 -r1.590 -r1.591
--- wxFolderView.cpp 2 Jul 2002 23:35:06 -0000 1.590
+++ wxFolderView.cpp 3 Jul 2002 00:14:25 -0000 1.591
@@ -2107,6 +2107,6 @@
wxLogTrace(M_TRACE_FV_SELECTION,
- "SetPreviewMsg(): index = %ld, UID = %08x",
- idx, uid);
+ "SetPreviewMsg(): index = %ld, UID = %08lx",
+ idx, (unsigned long)uid);
// as folder view calls us itself, no need to notify it
@@ -2297,6 +2297,6 @@
wxLogTrace(M_TRACE_FV_SELECTION,
- "Updated focused UID, now %08x (index = %ld)",
- m_uidFocus, index);
+ "Updated focused UID, now %08lx (index = %ld)",
+ (unsigned long)m_uidFocus, index);
}
}
@@ -2365,6 +2365,7 @@
wxLogTrace(M_TRACE_FV_SELECTION,
- "Updated focused UID from OnIdle(), now %08x (index = %ld)",
- m_uidFocus, m_itemFocus);
+ "Updated focused UID from OnIdle(), now %08lx "
+ "(index = %ld)",
+ (unsigned long)m_uidFocus, m_itemFocus);
m_FolderView->OnFocusChange(m_itemFocus, m_uidFocus);
@@ -2617,6 +2618,6 @@
wxLogTrace(M_TRACE_FV_SELECTION,
- "UpdateFocus(): index = %ld, UID = %08x",
- itemFocus, m_uidFocus);
+ "UpdateFocus(): index = %ld, UID = %08lx",
+ itemFocus, (unsigned long)m_uidFocus);
}
}
@@ -3501,5 +3502,5 @@
m_FolderCtrl->UpdateListing(mf->GetHeaders());
- wxLogTrace(M_TRACE_FV_UPDATE, "wxFolderView::Update(): %ld headers.",
+ wxLogTrace(M_TRACE_FV_UPDATE, "wxFolderView::Update(): %d headers.",
m_FolderCtrl->GetItemCount());
@@ -4626,6 +4627,6 @@
count = event.GetCount();
- wxLogTrace(M_TRACE_FV_UPDATE, "wxFolderView::Expunge(%u items), now %ld",
- count, m_FolderCtrl->GetItemCount());
+ wxLogTrace(M_TRACE_FV_UPDATE, "wxFolderView::Expunge(%lu items), now %d",
+ (unsigned long)count, m_FolderCtrl->GetItemCount());
HeaderInfoList_obj hil = GetFolder()->GetHeaders();
@@ -5092,5 +5093,5 @@
if ( !strWidths[col].ToULong(&w) )
{
- wxLogDebug("Invalid width for the column %d", n);
+ wxLogDebug("Invalid width for the column %u", (unsigned)n);
w = 0;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates