From 5dfea663cddcc5c02fc586020388510986e0ee56 Mon Sep 17 00:00:00 2001 From: William King Date: Thu, 4 Sep 2014 14:57:20 -0700 Subject: [PATCH] build fix for mod_xml_radius --- src/mod/xml_int/mod_xml_radius/mod_xml_radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c b/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c index 8075204e77..bc75843800 100644 --- a/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c +++ b/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c @@ -544,7 +544,7 @@ switch_status_t mod_xml_radius_add_params(switch_core_session_t *session, switch goto err; } } else if ( attribute->type == 1 ) { - char *data = switch_channel_get_variable(channel, variable); + const char *data = switch_channel_get_variable(channel, variable); int number = 0; if ( data ) {