diff options
Diffstat (limited to 'src/gns/plugin_gnsrecord_gns.c')
-rw-r--r-- | src/gns/plugin_gnsrecord_gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_gnsrecord_gns.c b/src/gns/plugin_gnsrecord_gns.c index 871fc9324..370bf1da4 100644 --- a/src/gns/plugin_gnsrecord_gns.c +++ b/src/gns/plugin_gnsrecord_gns.c | |||
@@ -79,7 +79,7 @@ gns_value_to_string (void *cls, | |||
79 | return NULL; | 79 | return NULL; |
80 | } | 80 | } |
81 | /* DNS server IP/name must be UTF-8 */ | 81 | /* DNS server IP/name must be UTF-8 */ |
82 | ip = GNUNET_strdup ((char*) &data[off]); | 82 | ip = GNUNET_strdup (&((const char*) data)[off]); |
83 | GNUNET_asprintf (&nstr, "%s@%s", ns, ip); | 83 | GNUNET_asprintf (&nstr, "%s@%s", ns, ip); |
84 | GNUNET_free_non_null (ns); | 84 | GNUNET_free_non_null (ns); |
85 | GNUNET_free_non_null (ip); | 85 | GNUNET_free_non_null (ip); |