Skip to content

Commit

Permalink
Merge pull request #373 from SangTruongTan/build-on-apple-silicon
Browse files Browse the repository at this point in the history
No viable conversion from 'QDltDataView' to 'QByteArray'
  • Loading branch information
hannesa2 authored Aug 20, 2023
2 parents a73dd35 + 4bb3b26 commit 141fa9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qdlt/qdltconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ void QDltConnection::add(const QByteArray &bytes)
{
bytesReceived += bytes.size();

data = dataView + bytes;
QByteArray dataViewArray = dataView;
data = dataViewArray + bytes;

dataView.align(data);
}
Expand Down

0 comments on commit 141fa9d

Please sign in to comment.