From 119c10f8723e5194d48a44375bf23f176a9c20be Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 23 Feb 2007 20:02:41 +0000 Subject: [PATCH] naggy compiler git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4374 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_channel.c b/src/switch_channel.c index 14fa0753d0..d5827f18ff 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -735,8 +735,8 @@ SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel_t *channel, sw char buf[1024]; switch_hash_this(hi, &var, NULL, &val); if (var && val) { - snprintf(buf, sizeof(buf), "variable_%s", var); - switch_event_add_header(event, SWITCH_STACK_BOTTOM, buf, "%s", val); + snprintf(buf, sizeof(buf), "variable_%s", (char *)var); + switch_event_add_header(event, SWITCH_STACK_BOTTOM, buf, "%s", (char *)val); } }