Try to fix wxWidgets debug alert on windows (#1153).
authorCarl Hetherington <cth@carlh.net>
Sun, 31 Dec 2017 01:27:44 +0000 (01:27 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 31 Dec 2017 01:27:44 +0000 (01:27 +0000)
src/wx/player_information.cc

index bab960730bfbc9844323bdf259281ba3ecf85a3a..6d091630a4bb91bf0a25bf85bdbed6c2f7bac9d5 100644 (file)
@@ -117,7 +117,7 @@ PlayerInformation::triggered_update ()
        checked_set (
                _dcp[r++],
                wxString::Format(
-                       _("Length: %s (%ld frames)"),
+                       _("Length: %s (%" wxLongLongFmtSpec " frames)"),
                        std_to_wx(time_to_hmsf(dcp->full_length(), lrint(*vfr))).data(),
                        dcp->full_length().frames_round(*vfr)
                        )