We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec987d commit a9f6714Copy full SHA for a9f6714
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+# v1.8.1
2
+
3
+* fix signed/unsigned mismatch warning with older MSVC compilers
4
5
# v1.8.0
6
7
* fix MIDI CI profile messages, some implementations were not yet compatible with MIDI CI 1.2
inc/midi/types.h
@@ -613,7 +613,7 @@ constexpr pitch_increment::pitch_increment(double d)
613
else if (d >= 0.)
614
{
615
const auto result = pitch_7_25(d).value;
616
- if (result <= std::numeric_limits<int32_t>::max())
+ if (result <= uint32_t(std::numeric_limits<int32_t>::max()))
617
value = result;
618
else
619
value = std::numeric_limits<int32_t>::max();
0 commit comments