summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-23 20:08:57 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-23 20:08:57 +0000
commitf835bba83faaf17f18b200dce777abe469633193 (patch)
treeb5fa74253f07cd69d71b3190ef35da730f879d3b
parentbf7ed340b5a10eb810e4e326c119271254eb869b (diff)
Try to fix format string specifier error on Windows.
-rw-r--r--ChangeLog2
-rw-r--r--src/wx/timecode.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 481c5a747..53cf7cb9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-03-23 Carl Hetherington <cth@carlh.net>
+ * Attempt to fix format string specifier error on Windows.
+
* Version 1.66.5 released.
2014-03-22 Carl Hetherington <cth@carlh.net>
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc
index a8c90b488..ee5b5604b 100644
--- a/src/wx/timecode.cc
+++ b/src/wx/timecode.cc
@@ -102,7 +102,7 @@ Timecode::set (Time t, int fps)
checked_set (_seconds, lexical_cast<string> (s));
checked_set (_frames, lexical_cast<string> (f));
- _fixed->SetLabel (wxString::Format ("%02d:%02d:%02d.%02ld", h, m, s, f));
+ _fixed->SetLabel (wxString::Format ("%02d:%02d:%02d.%02" wxLongLongFmtSpec "d", h, m, s, f));
}
Time