[asterisk-bugs] [DAHDI-linux 0015927]: [patch] Fix 'void *' pointer arithmetic warnings in echo cancellation drivers

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 29 16:32:56 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15927 
====================================================================== 
Reported By:                Max Khon
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15927
Category:                   dahdi (the module)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
JIRA:                        
Reviewboard Link:            
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-21 22:31 CDT
Last Modified:              2010-09-29 16:32 CDT
====================================================================== 
Summary:                    [patch] Fix 'void *' pointer arithmetic warnings in
echo cancellation drivers
Description: 
Attached patch fixes the following warning on newer gcc:

warning: pointer of type 'void *' used in arithmetic
warning: no previous prototype for 'dc_removal'

====================================================================== 

---------------------------------------------------------------------- 
 (0127520) svnbot (reporter) - 2010-09-29 16:32
 https://issues.asterisk.org/view.php?id=15927#c127520 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9420

U   linux/trunk/drivers/dahdi/dahdi-base.c
U   linux/trunk/drivers/dahdi/dahdi_echocan_kb1.c
U   linux/trunk/drivers/dahdi/dahdi_echocan_mg2.c

------------------------------------------------------------------------
r9420 | sruffell | 2010-09-29 16:32:55 -0500 (Wed, 29 Sep 2010) | 10 lines

dahdi: Fix 'void *' pointer arithmetic warnings.

(closes issue https://issues.asterisk.org/view.php?id=15927)
Reported by: Max Khon
Patches:
      dahdi_echocan2.diff uploaded by Max Khon (license 884)
      void2.diff uploaded by Max Khon (license 884)

Signed-off-by: Kinsey Moore <kmoore at digium.com>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=9420 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-29 16:32 svnbot         Checkin                                      
2010-09-29 16:32 svnbot         Note Added: 0127520                          
2010-09-29 16:32 svnbot         Status                   ready for review =>
assigned
2010-09-29 16:32 svnbot         Assigned To               => sruffell        
2010-09-29 16:32 svnbot         Status                   assigned => resolved
2010-09-29 16:32 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list