naggy compiler

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4374 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-23 20:02:41 +00:00
parent 529e82bdc5
commit 119c10f872
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}