[Freeswitch-svn] [commit] r4374 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Fri Feb 23 15:02:41 EST 2007


Author: anthm
Date: Fri Feb 23 15:02:41 2007
New Revision: 4374

Modified:
   freeswitch/trunk/src/switch_channel.c

Log:
naggy compiler

Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c	(original)
+++ freeswitch/trunk/src/switch_channel.c	Fri Feb 23 15:02:41 2007
@@ -735,8 +735,8 @@
 		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);
 		}
 	}
 



More information about the Freeswitch-svn mailing list