From 9f1903d96cccc7cb2f456d68d31446fa739905f7 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Thu, 9 Dec 2010 18:30:17 +0000 Subject: Fix compiler warnings, and a typo in the transport max slider value. --- muse2/synti/simpledrums2/simpledrums.cpp | 2 +- muse2/synti/simpledrums2/ssplugin.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'muse2/synti/simpledrums2') diff --git a/muse2/synti/simpledrums2/simpledrums.cpp b/muse2/synti/simpledrums2/simpledrums.cpp index 13f1d3e2..82f1bd07 100644 --- a/muse2/synti/simpledrums2/simpledrums.cpp +++ b/muse2/synti/simpledrums2/simpledrums.cpp @@ -1329,7 +1329,7 @@ static void* loadSampleThread(void* p) //static Mess* instantiate(int sr, const char* name) -static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const char* name) +static Mess* instantiate(int sr, QWidget*, QString* /*projectPathPtr*/, const char* name) { printf("SimpleSynth sampleRate %d\n", sr); SimpleSynth* synth = new SimpleSynth(sr); diff --git a/muse2/synti/simpledrums2/ssplugin.cpp b/muse2/synti/simpledrums2/ssplugin.cpp index 28639a39..2d8382e6 100644 --- a/muse2/synti/simpledrums2/ssplugin.cpp +++ b/muse2/synti/simpledrums2/ssplugin.cpp @@ -95,13 +95,13 @@ void SS_initPlugins() SS_TRACE_IN //loadPluginDir(museGlobalLib + QString("/plugins")); - char* ladspaPath = getenv("LADSPA_PATH"); + const char* ladspaPath = getenv("LADSPA_PATH"); if (ladspaPath == 0) ladspaPath = "/usr/lib/ladspa:/usr/local/lib/ladspa"; - char* p = ladspaPath; + const char* p = ladspaPath; while (*p != '\0') { - char* pe = p; + const char* pe = p; while (*pe != ':' && *pe != '\0') pe++; -- cgit v1.2.3