From cce70d5b7e2dfb0a7379fb7a5f6ee4f4299859d7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Sep 2024 19:39:43 -0400 Subject: Remove more old-style casts in C++ --- src/jalv_qt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(group1) - + reinterpret_cast(group2)); lilv_node_free(group2); lilv_node_free(group1); -- cgit v1.2.1