You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/moolticute/files/moolticute-1.03.0-fix-retur...

14 lines
428 B

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)