Skip to content

Commit

Permalink
CWWinkey: Fixed warninig - unsigned chat to QByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Dec 12, 2024
1 parent 75d54e8 commit e06480b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cwkey/drivers/CWWinKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ bool CWWinKey2::open()
cmd.resize(3);
cmd[0] = 0x00;
cmd[1] = 0x04;
cmd[2] = 0xF1;
cmd[2] = 0xF1u;

if ( sendDataAndWait(cmd) != 3 )
{
Expand Down Expand Up @@ -627,7 +627,7 @@ bool CWWinKey2::__setPOTRange()
cmd[0] = 0x05;
cmd[1] = minWPMRange;
cmd[2] = 31;
cmd[3] = 0xFF;
cmd[3] = 0xFFu;

qint64 size = writeAsyncData(cmd);
if ( size != 4 )
Expand Down

0 comments on commit e06480b

Please sign in to comment.