diff options
author | David Robillard <d@drobilla.net> | 2011-03-15 00:48:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-15 00:48:38 +0000 |
commit | f22e0bb610cea9e8471f7e5b0b704d8b282f239d (patch) | |
tree | 2982b025f28c8dba4ef88378e4cbc6e1771deeb1 /src | |
parent | a10ecce72b44c387fdcec013affe7530d53f9000 (diff) | |
download | ingen-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
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/events/SetMetadata.cpp | 4 |
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; |