midi2-dev / AM_MIDI2.0Lib

A MIDI 2.0 C++ Library
MIT License
23 stars 2 forks source link

infinite for loop? #4

Closed garydan42 closed 9 months ago

garydan42 commented 9 months ago

https://github.com/midi2-dev/AM_MIDI2.0Lib/blob/cc130a6c6ef63b8695b70a2948eaec11d6041e3e/src/umpProcessor.cpp#L268

for(uint8_t j = 24; j>=0; j-=8)

j is unsigned, so won't j always be >= 0 and it'll loop forever?