diff options
author | David Robillard <d@drobilla.net> | 2024-09-29 19:39:43 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-12 14:07:10 -0400 |
commit | cce70d5b7e2dfb0a7379fb7a5f6ee4f4299859d7 (patch) | |
tree | ef2727b94ee378704d0439fe96176e140837a5fd /src/jalv_qt.cpp | |
parent | 8580cdd95fe56e960fdf0b45a1744e7587c8010d (diff) | |
download | jalv-cce70d5b7e2dfb0a7379fb7a5f6ee4f4299859d7.tar.gz jalv-cce70d5b7e2dfb0a7379fb7a5f6ee4f4299859d7.tar.bz2 jalv-cce70d5b7e2dfb0a7379fb7a5f6ee4f4299859d7.zip |
Remove more old-style casts in C++
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); |