diff options
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r-- | src/jalv_qt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 9afabca..759498c 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -539,7 +539,8 @@ portGroupLessThan(const PortContainer& p1, const PortContainer& p2) const int cmp = (group1 && group2) ? strcmp(lilv_node_as_string(group1), lilv_node_as_string(group2)) - : (intptr_t(group1) - intptr_t(group2)); + : (reinterpret_cast<intptr_t>(group1) - + reinterpret_cast<intptr_t>(group2)); lilv_node_free(group2); lilv_node_free(group1); |