AvahiCore + Bonjour - pos should be signed.

This commit is contained in:
Jonathan Bagg
2022-02-17 20:45:29 -05:00
parent 334ca21012
commit c48fc95cf1
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ public:
while (txt) // get txt records
{
QByteArray avahiText((const char *)txt->text, txt->size);
const size_t pos = avahiText.indexOf('=');
const ssize_t pos = avahiText.indexOf('=');
if (pos < 0)
zcs->m_txt[avahiText] = "";
else