aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-21 09:43:34 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-21 09:43:34 +0300
commitebee7962d7a2691e38d585dac9b9c0e3d286364c (patch)
treef3413300f470ddde74beb58c2dcb6ae178cc0dd2 /src/adlmidi_private.hpp
parent0a93f3c6ca30a746c86c08922192f052864b46ed (diff)
downloadlibADLMIDI-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.hpp8
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