]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Fix warning (1 bit signed bitfield entry) and replace int by bool
authorStefan Weil <sw@weilnetz.de>
Fri, 21 Feb 2014 17:18:34 +0000 (18:18 +0100)
committerRichard Henderson <rth@twiddle.net>
Fri, 18 Apr 2014 23:57:36 +0000 (16:57 -0700)
commitad5171dbd419ffa9e10de766e1c3198f2ae62dfa
treea58a0decd90cca98bb1e65b3d0ff7c7a9bd75955
parent2d03b49c3f225994c4b0b46146437d8c887d6774
tcg: Fix warning (1 bit signed bitfield entry) and replace int by bool

Static code analyzers complain about signed bitfields with only a single
bit. is_ld is used as a boolean value, so make it bool.

ppc64 already used bool for the 2nd argument is_ld of the local function
add_qemu_ldst_label. Modify all other TCG targets to do follow this
example.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.c
tcg/arm/tcg-target.c
tcg/i386/tcg-target.c
tcg/ppc/tcg-target.c
tcg/tcg-be-ldst.h