From 1cc6f82e5cb4b0169b7f78baf3d9a174a04f7851 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Wed, 28 Feb 2024 14:41:45 +0100 Subject: [PATCH] small correction --- src/morse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/morse.cpp b/src/morse.cpp index a6e2db4..fc66525 100644 --- a/src/morse.cpp +++ b/src/morse.cpp @@ -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;