summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch')
-rw-r--r--app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch b/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch
new file mode 100644
index 000000000000..039f2ccb6605
--- /dev/null
+++ b/app-crypt/moolticute/files/moolticute-1.03.0-fix-return-type.patch
@@ -0,0 +1,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)