From 235309a9a42ca6de313facef457a2cbc41afe936 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 1 Apr 2023 21:06:13 +0200 Subject: [PATCH] Different attempt.. Signed-off-by: falkTX --- distrho/DistrhoDetails.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distrho/DistrhoDetails.hpp b/distrho/DistrhoDetails.hpp index 65380859..d4f1771f 100644 --- a/distrho/DistrhoDetails.hpp +++ b/distrho/DistrhoDetails.hpp @@ -236,18 +236,18 @@ enum PredefinedPortGroupsIds { /** Null or unset port group. */ - kPortGroupNone = static_cast(-1), + kPortGroupNone = UINT32_MAX - 1, /** A single channel audio group. */ - kPortGroupMono = static_cast(-2), + kPortGroupMono = UINT32_MAX - 2, /** A 2-channel discrete stereo audio group, where the 1st audio port is the left channel and the 2nd port is the right channel. */ - kPortGroupStereo = static_cast(-3) + kPortGroupStereo = UINT32_MAX - 3 }; /**