AvahiCore + Bonjour - pos should be signed.

This commit is contained in:
Jonathan Bagg committed 2022-02-17 20:45:29 -05:00
1 parent 334ca21012
commit c48fc95cf1
2 files changed
+2 -2

No files matched your search

+1 -1
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