Try to fix format string specifier error on Windows.
[dcpomatic.git] / src / wx / timecode.cc
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