From 98a4c7cf3d799ab953cb77e8b34597c73e3e7335 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 4 Feb 2010 15:00:15 +0100 Subject: *: suppress ~60% of "aliased warnings" on gcc-4.4.1 Signed-off-by: Denys Vlasenko --- miscutils/hdparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils/hdparm.c') diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 399b77a4a..9738620fd 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -315,7 +315,7 @@ struct globals { #ifdef DO_FLUSHCACHE unsigned char flushcache[4] = { WIN_FLUSHCACHE, 0, 0, 0 }; #endif -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) struct BUG_G_too_big { char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; -- cgit v1.2.3