Skip to content

Commit 697aa83

Browse files
committed
Use int not int8_t
This was causing overflows somewhere and causing `transposeTpc` to return different values on macOS and Linux
1 parent 384c638 commit 697aa83

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/engraving/dom/interval.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@
2323
#pragma once
2424

2525
#include <array>
26-
#include <cstdint>
2726

2827
namespace mu::engraving {
2928
struct OrnamentInterval;
3029

3130
struct Interval {
32-
int8_t diatonic = 0;
33-
int8_t chromatic = 0;
31+
int diatonic = 0;
32+
int chromatic = 0;
3433

3534
Interval() = default;
3635
Interval(int diatonic, int chromatic);

0 commit comments

Comments
 (0)