On Thu, Oct 20, 2022 at 6:54 PM Fulko Hew <fulko....@gmail.com> wrote:

> My guess as to what could be wrong according to the error is that
> ba[i] < '\0' is 'always false'  because ba (although declared as a
> QByteArray) is probably
> an unsigned byte array, and as such a value can never be less than zero.
>

It's documented as char here: https://doc.qt.io/qt-6/qbytearray.html#at
I never had any issues compiling this code on my RPi.


-- 
Stig Bjørlykke
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to