Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv28931

Modified Files:
        kb1ec.h 
Log Message:
avoid warning on 64-bit systems (will still break when MEC2_STATS is defined)


Index: kb1ec.h
===================================================================
RCS file: /usr/cvsroot/zaptel/kb1ec.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kb1ec.h     1 Sep 2005 17:47:32 -0000       1.2
+++ kb1ec.h     13 Sep 2005 20:11:37 -0000      1.3
@@ -179,9 +179,6 @@
        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 @@
        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;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to