summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Parser.cpp2
-rw-r--r--src/gui/App.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp
index 61495c9f..765f9bd4 100644
--- a/src/Parser.cpp
+++ b/src/Parser.cpp
@@ -295,7 +295,7 @@ parse_block(Ingen::World* world,
return boost::optional<Raul::Path>();
}
- const uint8_t* type_uri = (const uint8_t*)prototype.to_string().c_str();
+ const uint8_t* type_uri = (const uint8_t*)prototype.to_c_string();
if (!serd_uri_string_has_scheme(type_uri) ||
!strncmp((const char*)type_uri, "file:", 5)) {
// Prototype is a file, subgraph
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index a3055c91..d77779ef 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -79,6 +79,7 @@ App::App(Ingen::World* world)
, _n_threads(1)
, _max_event_load(0.0f)
, _min_run_load(0.0f)
+ , _mean_run_load(0.0f)
, _max_run_load(0.0f)
, _enable_signal(true)
, _requested_plugins(false)