diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-19 19:55:47 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-05-19 19:55:47 +0300 |
commit | bed6bcb220346c622a307bf405b9a1e87fd99db5 (patch) | |
tree | e1bdbcb286208ad7053ae625bf33c8ee6c5b5a29 /src/adlmidi_private.hpp | |
parent | 2654f224a0d875d265e0574b7746482c97e0d8a5 (diff) | |
download | libADLMIDI-bed6bcb220346c622a307bf405b9a1e87fd99db5.tar.gz libADLMIDI-bed6bcb220346c622a307bf405b9a1e87fd99db5.tar.bz2 libADLMIDI-bed6bcb220346c622a307bf405b9a1e87fd99db5.zip |
OpenWatcom compilation fix
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r-- | src/adlmidi_private.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 89d3236..07f15f2 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -569,7 +569,7 @@ public: ph = &chip_channels[i]; return ph; } - Phys *phys_find_or_create(unsigned chip_chan) + Phys *phys_find_or_create(uint16_t chip_chan) { Phys *ph = phys_find(chip_chan); if(!ph) { @@ -580,7 +580,7 @@ public: } return ph; } - Phys *phys_ensure_find_or_create(unsigned chip_chan) + Phys *phys_ensure_find_or_create(uint16_t chip_chan) { Phys *ph = phys_find_or_create(chip_chan); assert(ph); @@ -679,7 +679,7 @@ public: void activenotes_clear() { - for(unsigned i = 0; i < 128; ++i) { + for(uint8_t i = 0; i < 128; ++i) { activenotes[i].note = i; activenotes[i].active = false; } |