From: "Alexis Ballier (aballier)" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/ladspa-cmt/files: ladspa-cmt-1.16-sa.patch
Date: Tue, 27 Nov 2012 12:08:44 +0000 (UTC) [thread overview]
Message-ID: <20121127120845.02AFE20C65@flycatcher.gentoo.org> (raw)
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_
reply other threads:[~2012-11-27 12:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121127120845.02AFE20C65@flycatcher.gentoo.org \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox