diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-03 17:21:09 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-03 18:47:53 +0200 |
| commit | dcdbd801a09856af645adfc442108bba80e7e09a (patch) | |
| tree | 02be2323d260476b75215e77f56e943649a4aac8 /src/tools | |
| parent | bc5c582b78affde771f4c47c7789981392a4d861 (diff) | |
Fix bad format string (#3022).
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc index 1e0d5672d..b8262ba8b 100644 --- a/src/tools/dcpomatic_editor.cc +++ b/src/tools/dcpomatic_editor.cc @@ -110,7 +110,7 @@ public: _duration->SetRange(0, 259200); _duration->SetValue(asset->duration().get_value_or(0)); - intrinsic_duration->SetValue(wxString::Format(char_to_wx("%ld"), asset->intrinsic_duration())); + intrinsic_duration->SetValue(wxString::Format(char_to_wx("%" PRId64), asset->intrinsic_duration())); _annotation_text->Bind(wxEVT_TEXT, boost::bind(&AssetPanel::annotation_text_changed, this)); _entry_point->Bind(wxEVT_SPINCTRL, boost::bind(&AssetPanel::entry_point_changed, this)); |
