From bfe3a83f1596a9ae13df8cde17eabf2213e15f1a Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Sat, 2 Jan 2010 17:35:28 +0000 Subject: [PATCH] + JACK host: fix compilation with LASH (thanks Joeboy&drobilla) and printf format warning (thanks drobilla) --- src/jackhost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jackhost.cpp b/src/jackhost.cpp index d529710..1803c5c 100644 --- a/src/jackhost.cpp +++ b/src/jackhost.cpp @@ -529,7 +529,7 @@ char *host_session::open_file(const char *name) try { remove_all_plugins(); pl.load(name, true); - printf("Size %d\n", pl.plugins.size()); + printf("Size %d\n", (int)pl.plugins.size()); for (unsigned int i = 0; i < pl.plugins.size(); i++) { preset_list::plugin_snapshot &ps = pl.plugins[i]; @@ -678,7 +678,7 @@ void host_session::update_lash() if (dict.count("output_name")) client.output_nr = atoi(dict["output_name"].c_str()); if (dict.count("midi_name")) client.midi_nr = atoi(dict["midi_name"].c_str()); preset_list tmp; - tmp.parse(""+data+""); + tmp.parse(""+data+"", false); if (tmp.presets.size()) { printf("Load plugin %s\n", tmp.presets[0].plugin.c_str()); -- 2.11.4.GIT