mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-10 03:58:56 -06:00
Fix timing format string in the test suite.
wxStopWatch::Time() returns a long value so use %ld, not %d. This fixes assert failure when using "-t" option with the test suite under 64 bit Unix architectures. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fa38073670
commit
6222ad281a
@ -209,7 +209,7 @@ public:
|
||||
m_watch.Pause();
|
||||
wxPrintf(GetResultStr(m_result));
|
||||
if (m_timing)
|
||||
wxPrintf(" %6d ms", m_watch.Time());
|
||||
wxPrintf(" %6ld ms", m_watch.Time());
|
||||
wxPrintf("\n");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user