summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/unbound/unbound_rr.c
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2014-07-11 07:23:31 +0200
committerYves-Alexis Perez <corsac@debian.org>2014-07-11 07:23:31 +0200
commit81c63b0eed39432878f78727f60a1e7499645199 (patch)
tree82387d8fecd1c20788fd8bd784a9b0bde091fb6b /src/libstrongswan/plugins/unbound/unbound_rr.c
parentc5ebfc7b9c16551fe825dc1d79c3f7e2f096f6c9 (diff)
downloadvyos-strongswan-81c63b0eed39432878f78727f60a1e7499645199.tar.gz
vyos-strongswan-81c63b0eed39432878f78727f60a1e7499645199.zip
Imported Upstream version 5.2.0
Diffstat (limited to 'src/libstrongswan/plugins/unbound/unbound_rr.c')
-rw-r--r--src/libstrongswan/plugins/unbound/unbound_rr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/unbound/unbound_rr.c b/src/libstrongswan/plugins/unbound/unbound_rr.c
index 97c3b1933..fc69eed00 100644
--- a/src/libstrongswan/plugins/unbound/unbound_rr.c
+++ b/src/libstrongswan/plugins/unbound/unbound_rr.c
@@ -135,8 +135,8 @@ unbound_rr_t *unbound_rr_create_frm_ldns_rr(ldns_rr *rr)
return NULL;
}
- this->type = ldns_rr_get_type(rr);
- this->class = ldns_rr_get_class(rr);
+ this->type = (rr_type_t)ldns_rr_get_type(rr);
+ this->class = (rr_class_t)ldns_rr_get_class(rr);
this->ttl = ldns_rr_ttl(rr);
for(i = 0; i < ldns_rr_rd_count(rr); i++)
{