summaryrefslogtreecommitdiff
blob: 039f2ccb6605a4c1b763a44d2d1b7fd308553a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/mooltipass/moolticute/pull/1204
https://bugs.gentoo.org/916994
--- a/src/MPDeviceBleImpl.cpp
+++ b/src/MPDeviceBleImpl.cpp
@@ -735,7 +735,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)