[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


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15927 
====================================================================== 
Reported By:                Max Khon
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15927
Category:                   dahdi (the module)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     ready for review
JIRA:                        
Reviewboard Link:            
====================================================================== 
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                          
======================================================================




More information about the asterisk-bugs mailing list