diff --git a/bonjour.cpp b/bonjour.cpp index f4b6bc0..5bfa09f 100644 --- a/bonjour.cpp +++ b/bonjour.cpp @@ -161,7 +161,7 @@ void DNSSD_API QZeroConfPrivate::resolverCallback(DNSServiceRef, DNSServiceFlags return; } - qint16 recLen; + uchar recLen; while (txtLen > 0) // add txt records { recLen = txtRecord[0];