From 740ad828225e7b3f6b8aca6a298e2657fe76257b Mon Sep 17 00:00:00 2001 From: Melinda Shore Date: Tue, 31 Dec 2013 17:05:52 -0800 Subject: [PATCH] cast argument to getdns_convert_dns_name_to_fqdn() in example-reverse to char * to keep compiler happy --- src/example/example-reverse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/example/example-reverse.c b/src/example/example-reverse.c index 4389dc42..4387a6d3 100644 --- a/src/example/example-reverse.c +++ b/src/example/example-reverse.c @@ -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);