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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 30 09:16:16 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:              06-30-2008 09:16 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
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 06-30-08 09:16  
---------------------------------------------------------------------- 
That does work.
Note: there are still MANY MANY alignment issues to be dealt with.
iax2/dundi/md5/phoneprov/astobj2

If you want to fix all of these would it not be more suited to bug  11485
? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-30-08 09:16  snuffy         Note Added: 0089430                          
======================================================================




More information about the asterisk-bugs mailing list