Allow -ve framepos handling in TempoMap::framepos_plus_beats()
[ardour.git] / libs / ardour / file_source.cc
index 3ec561d66718f103db1dd1ed7c3d56619676e3c9..c05a0a4bb92826bebc876b62778c510a7c5e6c9d 100644 (file)
@@ -44,7 +44,7 @@
 #include "ardour/source.h"
 #include "ardour/utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -140,7 +140,7 @@ FileSource::init (const string& pathstr, bool must_exist)
 int
 FileSource::set_state (const XMLNode& node, int /*version*/)
 {
-       const XMLProperty* prop;
+       XMLProperty const * prop;
 
        if ((prop = node.property (X_("channel"))) != 0) {
                _channel = atoi (prop->value());