diff options
author | Robin Gareus <robin@gareus.org> | 2014-12-31 01:15:39 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-12-31 01:15:39 +0100 |
commit | 057cf770f0dd57e1594725448b3da2b77d675e55 (patch) | |
tree | d613753f387abe4e5536e876b5484dd3c87a37d0 /gtk2_ardour/selection.cc | |
parent | 805d4dd731c73ff78aba122aae0f24cd0891fd5c (diff) |
32/64bit compat
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index b00f59ce83..ae00c4f8c4 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -1234,9 +1234,9 @@ Selection::get_state () const for (TimeSelection::const_iterator i = time.begin(); i != time.end(); ++i) { XMLNode* t = node->add_child (X_("AudioRange")); - snprintf(buf, sizeof(buf), "%ld", (*i).start); + snprintf(buf, sizeof(buf), "%" PRId64, (*i).start); t->add_property (X_("start"), string(buf)); - snprintf(buf, sizeof(buf), "%ld", (*i).end); + snprintf(buf, sizeof(buf), "%" PRId64, (*i).end); t->add_property (X_("end"), string(buf)); } |