Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -405,7 +405,7 @@ extern "C" void cAvahiResolveReply( ...@@ -405,7 +405,7 @@ extern "C" void cAvahiResolveReply(
sg->txtFieldReply( sg->txtFieldReply(
kDNSServiceFlagsAdd | ((txtAtt->next || address)?kDNSServiceFlagsMoreComing:0), kDNSServiceFlagsAdd | ((txtAtt->next || address)?kDNSServiceFlagsMoreComing:0),
kDNSServiceErr_NoError, static_cast<unsigned short>(txtAtt->size), kDNSServiceErr_NoError, static_cast<unsigned short>(txtAtt->size),
txtAtt->text, -1); txtAtt->text, ~0);
txtAtt = txtAtt->next; txtAtt = txtAtt->next;
} }
if (address){ if (address){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment