[zaptel-commits] trunk - r875 /trunk/mg2ec.h

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Dec 22 22:21:26 CST 2005


Author: bweschke
Date: Thu Dec 22 22:21:24 2005
New Revision: 875

URL: http://svn.digium.com/view/zaptel?rev=875&view=rev
Log:
 Fix compile error on the MG2 echo canceler from revision 870


Modified:
    trunk/mg2ec.h

Modified: trunk/mg2ec.h
URL: http://svn.digium.com/view/zaptel/trunk/mg2ec.h?rev=875&r1=874&r2=875&view=diff
==============================================================================
--- trunk/mg2ec.h (original)
+++ trunk/mg2ec.h Thu Dec 22 22:21:24 2005
@@ -569,7 +569,7 @@
 		maxy = (1 << DEFAULT_SIGMA_LY_I);
 	if (maxu < (1 << DEFAULT_SIGMA_LU_I))
 		maxu = (1 << DEFAULT_SIGMA_LU_I);
-	ec = (struct echo_can_state *)MALLOC(sizeof(echo_can_state_t) +
+	ec = (struct echo_can_state *)MALLOC(sizeof(struct echo_can_state) +
 									4 + 						/* align */
 									sizeof(int) * len +			/* a_i */
 									sizeof(short) * len + 		/* a_s */



More information about the zaptel-commits mailing list