* [gentoo-commits] gentoo-x86 commit in media-libs/ladspa-cmt/files: ladspa-cmt-1.16-sa.patch
@ 2012-11-27 12:08 Alexis Ballier (aballier)
0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2012-11-27 12:08 UTC (permalink / raw
To: gentoo-commits
aballier 12/11/27 12:08:44
Added: ladspa-cmt-1.16-sa.patch
Log:
Fix strict aliasing warnings, bug #307563
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Revision Changes Path
1.1 media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/ladspa-cmt/files/ladspa-cmt-1.16-sa.patch?rev=1.1&content-type=text/plain
Index: ladspa-cmt-1.16-sa.patch
===================================================================
Fix strict aliasing warnings: reeverb/Components/allpass.h:36:2: warning:
dereferencing type-punned pointer will break strict-aliasing rules
https://bugs.gentoo.org/show_bug.cgi?id=307563
Index: cmt/src/freeverb/Components/denormals.h
===================================================================
--- cmt.orig/src/freeverb/Components/denormals.h
+++ cmt/src/freeverb/Components/denormals.h
@@ -8,7 +8,7 @@
#ifndef _denormals_
#define _denormals_
-#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
+#define undenormalise(sample) if((((unsigned int)sample)&0x7f800000)==0) sample=0.0f
#endif//_denormals_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-27 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 12:08 [gentoo-commits] gentoo-x86 commit in media-libs/ladspa-cmt/files: ladspa-cmt-1.16-sa.patch Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox