cast argument to getdns_convert_dns_name_to_fqdn() in example-reverse to char * to keep compiler happy

This commit is contained in:
Melinda Shore 2013-12-31 17:05:52 -08:00
parent 3248d223cd
commit 740ad82822
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ void this_callbackfn(struct getdns_context *this_context,
struct getdns_bindata * this_dname;
this_ret = getdns_dict_get_bindata(this_rdata, "rdata_raw", &this_dname);
char *this_dname_str = getdns_convert_dns_name_to_fqdn(this_dname->data);
char *this_dname_str = getdns_convert_dns_name_to_fqdn((char *)this_dname->data);
printf("The dname is %s\n", this_dname_str);
free(this_dname_str);