diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-21 09:43:34 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-06-21 09:43:34 +0300 |
commit | ebee7962d7a2691e38d585dac9b9c0e3d286364c (patch) | |
tree | f3413300f470ddde74beb58c2dcb6ae178cc0dd2 /src/adlmidi_private.hpp | |
parent | 0a93f3c6ca30a746c86c08922192f052864b46ed (diff) | |
download | libADLMIDI-ebee7962d7a2691e38d585dac9b9c0e3d286364c.tar.gz libADLMIDI-ebee7962d7a2691e38d585dac9b9c0e3d286364c.tar.bz2 libADLMIDI-ebee7962d7a2691e38d585dac9b9c0e3d286364c.zip |
SysEx: Use `size_t` for size values instead of `unsigned int`
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r-- | src/adlmidi_private.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 67f1ccb..280232f 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -914,7 +914,7 @@ public: * @param size Length of SysEx message * @return true if message was passed successfully. False on any errors */ - bool realTime_SysEx(const uint8_t *msg, unsigned size); + bool realTime_SysEx(const uint8_t *msg, size_t size); /** * @brief Turn off all notes and mute the sound of releasing notes @@ -967,9 +967,9 @@ private: YamahaModel_XG = 0x4C }; - bool doUniversalSysEx(unsigned dev, bool realtime, const uint8_t *data, unsigned size); - bool doRolandSysEx(unsigned dev, const uint8_t *data, unsigned size); - bool doYamahaSysEx(unsigned dev, const uint8_t *data, unsigned size); + bool doUniversalSysEx(unsigned dev, bool realtime, const uint8_t *data, size_t size); + bool doRolandSysEx(unsigned dev, const uint8_t *data, size_t size); + bool doYamahaSysEx(unsigned dev, const uint8_t *data, size_t size); private: enum |