[asterisk-commits] kpfleming: trunk r107525 - /trunk/channels/chan_vpb.cc

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 11 10:39:38 CDT 2008


Author: kpfleming
Date: Tue Mar 11 10:39:37 2008
New Revision: 107525

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107525
Log:
fix another potential bug found by gcc 4.3

Modified:
    trunk/channels/chan_vpb.cc

Modified: trunk/channels/chan_vpb.cc
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_vpb.cc?view=diff&rev=107525&r1=107524&r2=107525
==============================================================================
--- trunk/channels/chan_vpb.cc (original)
+++ trunk/channels/chan_vpb.cc Tue Mar 11 10:39:37 2008
@@ -2554,7 +2554,8 @@
 	int oldformat;
 	struct vpb_pvt *p;
 	struct ast_channel *tmp = NULL;
-	char *s, *sepstr, *data = (char *)vdata, *name;
+	char *sepstr, *data = (char *)vdata, *name;
+	const char *s;
 	int group = -1;
 
 	oldformat = format;




More information about the asterisk-commits mailing list