Skip to content

Commit

Permalink
Fixed warning introduced in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Lacamera committed May 22, 2015
1 parent 4d3522c commit d2d33bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pico_mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ static int pico_mdns_handle_answer(char *url, struct pico_dns_answer_suffix *suf
}
#endif
else if(short_be(suf->qtype) == PICO_DNS_TYPE_PTR) {
pico_dns_notation_to_name(data, strlen(data)); /* This is not the right way, where do I get the lenght of the data field? */
pico_dns_notation_to_name(data, (unsigned int)strlen(data)); /* This is not the right way, where do I get the lenght of the data field? */
ck->callback(data + 1, ck->arg); /* +1 to discard the beginning dot */
}
else {
Expand Down

0 comments on commit d2d33bb

Please sign in to comment.