* build fixes

This commit is contained in:
Chris Cannam
2008-07-08 15:32:52 +00:00
parent 7f68bae17f
commit f0cc46653d
2 changed files with 2 additions and 2 deletions

View File

@@ -690,7 +690,7 @@ RubberBandStretcher::Impl::modifyChunk(size_t channel,
if (limit2 < limit1) limit2 = limit1; if (limit2 < limit1) limit2 = limit1;
double prevInstability = 0.0; double prevInstability = 0.0;
double prevDirection = 0.0; bool prevDirection = false;
double distance = 0.0; double distance = 0.0;
const double maxdist = 8.0; const double maxdist = 8.0;

View File

@@ -41,7 +41,7 @@ using RubberBand::usleep;
double tempo_convert(const char *str) double tempo_convert(const char *str)
{ {
char *d = strchr(str, ':'); char *d = strchr((char *)str, ':');
if (!d || !*d) { if (!d || !*d) {
double m = atof(str); double m = atof(str);