[asterisk-bugs] [DAHDI-linux 0013575]: ‘t1xxp_echocan_with_params’: dahdi-linux-2.0.0-rc4/drivers/dahdi/wcte12xp/base.c:1079: error: size of array ‘type name’ is negat

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Sep 28 08:51:50 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13575 
====================================================================== 
Reported By:                Ulmo
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13575
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-28 00:45 CDT
Last Modified:              2008-09-28 08:51 CDT
====================================================================== 
Summary:                    ‘t1xxp_echocan_with_params’:
dahdi-linux-2.0.0-rc4/drivers/dahdi/wcte12xp/base.c:1079: error: size of array
‘type name’ is negat
Description: 
Fix for http://bugs.digium.com/view.php?id=12787 works:

Index: kernel/wcte12xp/base.c
===================================================================
--- kernel/wcte12xp/base.c      (revision 4344)
+++ kernel/wcte12xp/base.c      (working copy)
@@ -1061,7 +1061,7 @@
        struct adt_lec_params params;
        struct t1 *wc = chan->pvt;
        struct vpm150m *vpm150m = wc->vpm150m;
-       unsigned int flags;
+       unsigned long flags;
        struct vpm150m_workentry *work;
        unsigned int ret;

Yes, a previously fixed patch for zaptel now affects dahdi.  Please
use previous fix on current code!!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-28 08:51 kpfleming      Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list