This commit is contained in:
Jaby
2024-06-01 17:11:54 +02:00
committed by Jaby
parent f8028de6c3
commit 1b563f1335
3 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ struct XAPlayer {
}
void change_channel(int8_t step) {
this->channel = (this->channel + step)%MaxChannels;
this->channel = static_cast<uint8_t>((this->channel + step))%MaxChannels;
CDXA::set_channel(this->channel);
}