summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo.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/tempo.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/tempo.cc')
-rw-r--r--libs/ardour/tempo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 8042644d39..e54231d6d1 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -67,7 +67,7 @@ TempoSection::TempoSection (const XMLNode& node)
throw failed_constructor();
}
- if (sscanf (prop->value().c_str(), "%lu|%lu|%lu",
+ if (sscanf (prop->value().c_str(), "%" PRIu32 "|%" PRIu32 "|%" PRIu32,
&start.bars,
&start.beats,
&start.ticks) < 3) {
@@ -131,7 +131,7 @@ MeterSection::MeterSection (const XMLNode& node)
throw failed_constructor();
}
- if (sscanf (prop->value().c_str(), "%lu|%lu|%lu",
+ if (sscanf (prop->value().c_str(), "%" PRIu32 "|%" PRIu32 "|%" PRIu32,
&start.bars,
&start.beats,
&start.ticks) < 3) {