commit ff79a8c061b740b54e5490a29fdeac77cc1d3451
parent 665cd0aa793570d087dceab8d1837404e731a8f3
Author: falkTX <falktx@falktx.com>
Date: Sat, 1 Apr 2023 21:02:53 +0200
Try to workaround clang complaining
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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<uint32_t>(-1),
/**
A single channel audio group.
*/
- kPortGroupMono = (uint32_t)-2,
+ kPortGroupMono = static_cast<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_t)-3
+ kPortGroupStereo = static_cast<uint32_t>(-3)
};
/**