From f0cc46653dd61304865419afeab0f6350ca1b714 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Tue, 8 Jul 2008 15:32:52 +0000 Subject: [PATCH] * build fixes --- src/StretcherProcess.cpp | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StretcherProcess.cpp b/src/StretcherProcess.cpp index 70d540f..326d73a 100644 --- a/src/StretcherProcess.cpp +++ b/src/StretcherProcess.cpp @@ -690,7 +690,7 @@ RubberBandStretcher::Impl::modifyChunk(size_t channel, if (limit2 < limit1) limit2 = limit1; double prevInstability = 0.0; - double prevDirection = 0.0; + bool prevDirection = false; double distance = 0.0; const double maxdist = 8.0; diff --git a/src/main.cpp b/src/main.cpp index 4face44..d814840 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,7 +41,7 @@ using RubberBand::usleep; double tempo_convert(const char *str) { - char *d = strchr(str, ':'); + char *d = strchr((char *)str, ':'); if (!d || !*d) { double m = atof(str);