mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-29 08:16:35 -04:00
CW Keyer: specifiy char signedness to fix error with some compilers
This commit is contained in:
parent
13d97292a0
commit
02981b4f08
@ -24,7 +24,7 @@
|
|||||||
* 1: dash
|
* 1: dash
|
||||||
* -1: end of sequence
|
* -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}, // 0
|
||||||
{-1,0,0,0,0,0,0}, // 1
|
{-1,0,0,0,0,0,0}, // 1
|
||||||
{-1,0,0,0,0,0,0}, // 2
|
{-1,0,0,0,0,0,0}, // 2
|
||||||
|
@ -94,7 +94,7 @@ private:
|
|||||||
CWKeyIambicState m_keyIambicState;
|
CWKeyIambicState m_keyIambicState;
|
||||||
CWTextState m_textState;
|
CWTextState m_textState;
|
||||||
|
|
||||||
static const char m_asciiToMorse[128][7];
|
static const signed char m_asciiToMorse[128][7];
|
||||||
|
|
||||||
void nextStateIambic();
|
void nextStateIambic();
|
||||||
void nextStateText();
|
void nextStateText();
|
||||||
|
Loading…
Reference in New Issue
Block a user