Commit 5444738c authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Fix a warning about an integer change of sign with ICC



The ttl argument to ServiceGaterer::txtFieldReply is uint32_t.

Change-Id: I7df624eb04d5ffea1b281ed06d38d5e66b7a7319
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@nokia.com>
parent f6eefeb1
......@@ -405,7 +405,7 @@ extern "C" void cAvahiResolveReply(
sg->txtFieldReply(
kDNSServiceFlagsAdd | ((txtAtt->next || address)?kDNSServiceFlagsMoreComing:0),
kDNSServiceErr_NoError, static_cast<unsigned short>(txtAtt->size),
txtAtt->text, -1);
txtAtt->text, ~0);
txtAtt = txtAtt->next;
}
if (address){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment