summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-03-08 19:18:15 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2024-03-08 19:18:15 -0500
commitff76ec5f866b5dc77bb635f2d62bec861794fb63 (patch)
treeb0f588b12536cc9e6ea738a45ae5cbacfed818f2 /src/components
parent143bb579139ad4260f5f3131c66f0ea3b6479680 (diff)
downloadabaddon-portaudio-ff76ec5f866b5dc77bb635f2d62bec861794fb63.tar.gz
abaddon-portaudio-ff76ec5f866b5dc77bb635f2d62bec861794fb63.zip
type nonsense
Diffstat (limited to 'src/components')
-rw-r--r--src/components/channellist/channellisttree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/channellist/channellisttree.cpp b/src/components/channellist/channellisttree.cpp
index c26cc24..4816b42 100644
--- a/src/components/channellist/channellisttree.cpp
+++ b/src/components/channellist/channellisttree.cpp
@@ -359,7 +359,7 @@ int ChannelListTree::SortFunc(const Gtk::TreeModel::iterator &a, const Gtk::Tree
if (a_type == RenderType::TextChannel && b_type == RenderType::VoiceChannel) return -1;
if (b_type == RenderType::TextChannel && a_type == RenderType::VoiceChannel) return 1;
#endif
- return static_cast<int>(std::clamp(a_sort - b_sort, -1LL, 1LL));
+ return static_cast<int>(std::clamp(a_sort - b_sort, int64_t(-1), int64_t(1)));
}
void ChannelListTree::OnPanedPositionChanged() {