small correction

This commit is contained in:
Martin Brodbeck 2024-02-28 14:41:45 +01:00
parent 4775a12d45
commit 1cc6f82e5c
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ bool charToMorse(const char ch, char *morseSymbols)
if (ch == ' ') {
morseSymbols[index++] = 'w';
} else {
for (unsigned int i = 0; i < morseMap[ch].length(); i++) {
for (size_t i = 0; i < morseMap[ch].length(); i++) {
char m = morseMap[ch][i];
morseSymbols[index++] = m;