summaryrefslogtreecommitdiffstats
path: root/src/client/PortModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r--src/client/PortModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index eb645791..e72c279d 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -56,7 +56,7 @@ PortModel::is_uri() const
// FIXME: Resource::has_property doesn't work, URI != URID
for (auto p : properties()) {
if (p.second.type() == _uris.atom_URID &&
- static_cast<LV2_URID>(p.second.get_int32()) == _uris.atom_URID) {
+ static_cast<LV2_URID>(p.second.get<int32_t>()) == _uris.atom_URID) {
return true;
}
}