Wireshark-dev: Re: [Wireshark-dev] can't compile wireshark version 4.0

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Thu, 20 Oct 2022 19:09:15 +0200
On Thu, Oct 20, 2022 at 6:54 PM Fulko Hew <fulko.hew@xxxxxxxxx> 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