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 --- networking/ftpgetput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ftpgetput.c') diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 2dd7e9232..120ccff83 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -23,7 +23,7 @@ struct globals { int verbose_flag; int do_continue; char buf[1]; /* actually [BUFSZ] */ -}; +} FIX_ALIASING; #define G (*(struct globals*)&bb_common_bufsiz1) enum { BUFSZ = COMMON_BUFSIZE - offsetof(struct globals, buf) }; struct BUG_G_too_big { -- cgit v1.2.3