From 432da7bec5f068d881d092e8bb4354563d5c353b Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 21 Mar 2011 17:33:47 +1100 Subject: [PATCH] fix pointer alias warning surfaced on FreeBSD --- util_radius.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util_radius.cpp b/util_radius.cpp index 083b3e7..f422087 100644 --- a/util_radius.cpp +++ b/util_radius.cpp @@ -440,7 +440,8 @@ void gss_eap_radius_attr_provider::releaseAnyNameMapping(gss_buffer_t type_id GSSEAP_UNUSED, gss_any_t input) const { - pairfree((VALUE_PAIR **)&input); + VALUE_PAIR *vp = (VALUE_PAIR *)input; + pairfree(&vp); } bool -- 2.1.4