mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Fix for Qt6
This commit is contained in:
parent
6e514435ac
commit
dc40fac021
@ -302,7 +302,7 @@ void PSK31Encoder::addCode(unsigned& bits, unsigned int& bitCount, const QString
|
||||
unsigned int codeLen = code.size();
|
||||
|
||||
for (unsigned int i = 0; i < codeLen; i++) {
|
||||
codeBits |= (code[i] == "1" ? 1 : 0) << i;
|
||||
codeBits |= (code[i] == '1' ? 1 : 0) << i;
|
||||
}
|
||||
|
||||
addStartBits(bits, bitCount);
|
||||
|
Loading…
Reference in New Issue
Block a user