CW Keyer: specifiy char signedness to fix error with some compilers

This commit is contained in:
f4exb 2017-04-25 00:16:44 +02:00
parent 13d97292a0
commit 02981b4f08
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* 1: dash
* -1: end of sequence
*/
const char CWKeyer::m_asciiToMorse[128][7] = {
const signed char CWKeyer::m_asciiToMorse[128][7] = {
{-1,0,0,0,0,0,0}, // 0
{-1,0,0,0,0,0,0}, // 1
{-1,0,0,0,0,0,0}, // 2

View File

@ -94,7 +94,7 @@ private:
CWKeyIambicState m_keyIambicState;
CWTextState m_textState;
static const char m_asciiToMorse[128][7];
static const signed char m_asciiToMorse[128][7];
void nextStateIambic();
void nextStateText();