summaryrefslogtreecommitdiff
path: root/mec2.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-11 22:51:15 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-11 22:51:15 +0000
commit6b8045bf01673d2ffffcad80c0975ead4b8a2fc7 (patch)
treee1e930ea4f3353957716943ecf00dcf0384a45e8 /mec2.h
parent959d0d74c347d0e1c1b7cffc33add4567fcb6490 (diff)
fix so this will build
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1218 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mec2.h')
-rw-r--r--mec2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mec2.h b/mec2.h
index c58f3df..b15a768 100644
--- a/mec2.h
+++ b/mec2.h
@@ -383,7 +383,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 */