summaryrefslogtreecommitdiff
path: root/mg2ec.h
diff options
context:
space:
mode:
authorbweschke <bweschke@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-23 04:21:24 +0000
committerbweschke <bweschke@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-23 04:21:24 +0000
commit625f93307a45b94899b12a47d0fb01edeb8aceb1 (patch)
tree3917ab131e7e7a123749f4cfd83148a6ec7e226d /mg2ec.h
parent4d3a60c560ca9d3a5671204990090b71484027e7 (diff)
Fix compile error on the MG2 echo canceler from revision 870
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@875 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mg2ec.h')
-rw-r--r--mg2ec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg2ec.h b/mg2ec.h
index 7a8aed2..e08adaf 100644
--- a/mg2ec.h
+++ b/mg2ec.h
@@ -569,7 +569,7 @@ static inline struct echo_can_state *echo_can_create(int len, int adaption_mode)
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 */