summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
commit4c509656223d3ed1f0fab504cb483090d38972f9 (patch)
tree540f207b81f957fa78101d67da3094ff1e1f9456 /libs/ardour/region.cc
parent5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (diff)
fix compose mess, and a number of 64 bit printf specs
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 4a6aea07b8..91d5704db2 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -843,7 +843,7 @@ Region::state (bool full_state)
XMLNode *node = new XMLNode ("Region");
char buf[64];
- snprintf (buf, sizeof (buf), "%llu", _id);
+ snprintf (buf, sizeof (buf), "%" PRIu64, _id);
node->add_property ("id", buf);
node->add_property ("name", _name);
snprintf (buf, sizeof (buf), "%u", _start);
@@ -885,7 +885,7 @@ Region::set_state (const XMLNode& node)
return -1;
}
- sscanf (prop->value().c_str(), "%llu", &_id);
+ sscanf (prop->value().c_str(), "%" PRIu64, &_id);
if ((prop = node.property ("name")) == 0) {
error << _("Session: XMLNode describing a Region is incomplete (no name)") << endmsg;