summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 00:48:38 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 00:48:38 +0000
commitf22e0bb610cea9e8471f7e5b0b704d8b282f239d (patch)
tree2982b025f28c8dba4ef88378e4cbc6e1771deeb1
parenta10ecce72b44c387fdcec013affe7530d53f9000 (diff)
downloadingen-f22e0bb610cea9e8471f7e5b0b704d8b282f239d.tar.gz
ingen-f22e0bb610cea9e8471f7e5b0b704d8b282f239d.tar.bz2
ingen-f22e0bb610cea9e8471f7e5b0b704d8b282f239d.zip
Fix errors caught by GCC 4.5.2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3083 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/engine/events/SetMetadata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp
index a6b446d4..ef192b96 100644
--- a/src/engine/events/SetMetadata.cpp
+++ b/src/engine/events/SetMetadata.cpp
@@ -106,8 +106,8 @@ SetMetadata::pre_process()
const bool is_graph_object = Path::is_path(_subject);
_object = is_graph_object
- ? _engine.engine_store()->find_object(Path(_subject.str()))
- : _object = _engine.node_factory()->plugin(_subject);
+ ? _engine.engine_store()->find_object(Path(_subject.str()))
+ : static_cast<Shared::ResourceImpl*>(_engine.node_factory()->plugin(_subject));
if (!_object && (!is_graph_object || !_create)) {
_error = NOT_FOUND;