From 9a86c80834c01a69cf74f1c55c3ca2d333da548e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 1 Apr 2023 22:32:02 +0200 Subject: [PATCH] Revert latest changes, do not work in the end Signed-off-by: falkTX --- distrho/DistrhoDetails.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distrho/DistrhoDetails.hpp b/distrho/DistrhoDetails.hpp index 3ceb7ac2..b1235209 100644 --- a/distrho/DistrhoDetails.hpp +++ b/distrho/DistrhoDetails.hpp @@ -232,22 +232,22 @@ enum ParameterDesignation { @see PortGroup */ -enum PredefinedPortGroupsIds : uint32_t { +enum PredefinedPortGroupsIds { /** Null or unset port group. */ - kPortGroupNone = UINT32_MAX - 1, + kPortGroupNone = (uint32_t)-1, /** A single channel audio group. */ - kPortGroupMono = UINT32_MAX - 2, + kPortGroupMono = (uint32_t)-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 = UINT32_MAX - 3 + kPortGroupStereo = (uint32_t)-3 }; /**