Try to fix format string specifier error on Windows.
authorCarl Hetherington <cth@carlh.net>
Sun, 23 Mar 2014 20:08:57 +0000 (20:08 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 23 Mar 2014 20:08:57 +0000 (20:08 +0000)
ChangeLog
src/wx/timecode.cc

index 481c5a7471ee5cf15030089f1f27b6c1f2b53b9a..53cf7cb9d3caa4f9e1c365853414a28856c322e1 100644 (file)
--- 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>
index a8c90b4882623a1ab027bdaee5745769ac6023b5..ee5b5604bef4189e95329a360525be0e0bfbaf7b 100644 (file)
@@ -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