From ff79a8c061b740b54e5490a29fdeac77cc1d3451 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 1 Apr 2023 21:03:20 +0200 Subject: [PATCH] Try to workaround clang complaining 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 b1235209..65380859 100644 --- a/distrho/DistrhoDetails.hpp +++ b/distrho/DistrhoDetails.hpp @@ -236,18 +236,18 @@ enum PredefinedPortGroupsIds { /** Null or unset port group. */ - kPortGroupNone = (uint32_t)-1, + kPortGroupNone = static_cast(-1), /** A single channel audio group. */ - kPortGroupMono = (uint32_t)-2, + kPortGroupMono = static_cast(-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_t)-3 + kPortGroupStereo = static_cast(-3) }; /**