summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-01-25 17:46:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-01-25 17:46:12 +0000
commitd9b02a266d28a313d074b7efee8e4f03edb11418 (patch)
tree7b2b1062ff512ab4443d2596464cc6de4de072d3 /libs/ardour/region.cc
parent50c51ce2392c44156b16f228b71f035766f64dfb (diff)
lots of small fixes related to the rythmic rodent
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2967 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 5793ef545f..75682ec592 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -793,9 +793,9 @@ Region::state (bool full_state)
node->add_property ("length", buf);
snprintf (buf, sizeof (buf), "%u", _position);
node->add_property ("position", buf);
- snprintf (buf, sizeof (buf), "%lu", _ancestral_start);
+ snprintf (buf, sizeof (buf), "%Ld", _ancestral_start);
node->add_property ("ancestral-start", buf);
- snprintf (buf, sizeof (buf), "%lu", _ancestral_length);
+ snprintf (buf, sizeof (buf), "%Ld", _ancestral_length);
node->add_property ("ancestral-length", buf);
snprintf (buf, sizeof (buf), "%.12g", _stretch);
node->add_property ("stretch", buf);