Fix some compiler warnings emitted by gcc-4.8.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
eba5faec67
commit
5117eff6f9
4 changed files with 9 additions and 9 deletions
|
@ -59,7 +59,7 @@
|
|||
struct globals {
|
||||
char **names;
|
||||
int cur;
|
||||
char *cmd[1];
|
||||
char *cmd[2 /* using 1 provokes compiler warning */];
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define names (G.names)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue