Skip to content

Commit

Permalink
Merge pull request #1204 from csfore/fix-gcc14-compile
Browse files Browse the repository at this point in the history
src/MPDeviceBleImpl.cpp: Fix compilation on GCC 14
  • Loading branch information
limpkin authored Dec 11, 2023
2 parents 1aa045a + 9698273 commit 10ea008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MPDeviceBleImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ bool MPDeviceBleImpl::processReceivedData(const QByteArray &data, QByteArray &da
{
if (data.size() < 2)
{
return {0};
return {QByteArray::number(0)};
}
QVector<QByteArray> res;
for (int i = 0; i < data.size() - 1; i += 2)
Expand Down

0 comments on commit 10ea008

Please sign in to comment.