From a77aa6fce844ccd16c41c4925800dc0270c7eaa8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 10 Jun 2009 00:30:54 +0000 Subject: [PATCH] fix up deserialization of _ancestral_length git-svn-id: svn://localhost/ardour2/branches/3.0@5148 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 19f26966a7..21e1a6c42f 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -1282,7 +1282,7 @@ Region::set_live_state (const XMLNode& node, Change& what_changed, bool send) } if ((prop = node.property ("ancestral-length")) != 0) { - _ancestral_length = atoi (prop->value()); + _ancestral_length = strtoll (prop->value().c_str(), 0, 10); } else { _ancestral_length = _length; }