diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-09-13 20:11:37 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-09-13 20:11:37 +0000 |
commit | 97c17e4e5551a5b2b7e93e97a323e8068c5bbdb6 (patch) | |
tree | d9ffd01c11edb2bc8c0ee700f257c683cefd4dd2 | |
parent | 6d50555e8dab820644e2a2206efd0c19f571955f (diff) |
avoid warning on 64-bit systems (will still break when MEC2_STATS is defined)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@761 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | kb1ec.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -179,9 +179,6 @@ static inline void init_cc(echo_can_state_t *ec, int N, int maxy, int maxu) tmp &= ~3L; ptr = (void *)tmp; - /* set the identity */ - ec->id = (int)&ptr; - /* Reset parameters */ ec->N_d = N; ec->beta2_i = DEFAULT_BETA1_I; @@ -214,6 +211,9 @@ static inline void init_cc(echo_can_state_t *ec, int N, int maxy, int maxu) ec->Lu_i = DEFAULT_CUTOFF_I; #ifdef MEC2_STATS + /* set the identity */ + ec->id = (int)&ptr; + /* Reset performance stats */ ec->cntr_nearend_speech_frames = (int)0; ec->cntr_residualcorrected_frames = (int)0; |