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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 20 23:28:52 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
JIRA:                        
Reviewboard Link:            
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-21 22:31 CDT
Last Modified:              2011-01-20 23:28 CST
====================================================================== 
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'

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

---------------------------------------------------------------------- 
 (0130837) svnbot (reporter) - 2011-01-20 23:28
 https://issues.asterisk.org/view.php?id=15927#c130837 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9664

U   linux/branches/2.4/drivers/dahdi/dahdi-base.c
U   linux/branches/2.4/drivers/dahdi/dahdi_echocan_kb1.c
U   linux/branches/2.4/drivers/dahdi/dahdi_echocan_mg2.c

------------------------------------------------------------------------
r9664 | sruffell | 2011-01-20 23:28:51 -0600 (Thu, 20 Jan 2011) | 12 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>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9420
------------------------------------------------------------------------

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-20 23:28 svnbot         Checkin                                      
2011-01-20 23:28 svnbot         Note Added: 0130837                          
======================================================================




More information about the asterisk-bugs mailing list