[asterisk-bugs] [Asterisk 0012932]: [patch] Union rather than cast for outbuf (translate.h)

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Jul 6 23:00:04 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12932 
====================================================================== 
Reported By:                snuffy
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   12932
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 124869 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-26-2008 10:28 CDT
Last Modified:              07-06-2008 23:00 CDT
====================================================================== 
Summary:                    [patch] Union rather than cast for outbuf
(translate.h)
Description: 
This is part of the things i tried to achieve under solaris to fix
alginment issues. ( issue http://bugs.digium.com/view.php?id=11485 )

This has only had very basic tests done.. alaw/ulaw to gsm etc.
Playback seemed fine.

Probably want to rename some of the unions var names but its a start
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011485 Alignment issues building on solaris sparc
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 07-06-08 23:00  
---------------------------------------------------------------------- 
Ok this branch doesn't compile because of sip_addrcmp()
In trunk this was ditched (one of my previous bug posts)

chan_sip.c:2660: warning: cast increases required alignment of target type 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-06-08 23:00  snuffy         Note Added: 0089815                          
======================================================================




More information about the asterisk-bugs mailing list