small correction
This commit is contained in:
parent
4775a12d45
commit
1cc6f82e5c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue