summaryrefslogtreecommitdiffstats
path: root/linux-user/strace.c
diff options
context:
space:
mode:
authorStefan Weil2015-02-08 15:40:58 +0100
committerMichael Tokarev2015-10-08 18:46:47 +0200
commitd1c002b6ae2dc81d97bbe23fe65e1960abdba9a4 (patch)
treee9add5febd3e6f4ed3bd51bb855302a71ed4a6f1 /linux-user/strace.c
parentlinux-user: Use g_new() & friends where that makes obvious sense (diff)
downloadqemu-d1c002b6ae2dc81d97bbe23fe65e1960abdba9a4.tar.gz
qemu-d1c002b6ae2dc81d97bbe23fe65e1960abdba9a4.tar.xz
qemu-d1c002b6ae2dc81d97bbe23fe65e1960abdba9a4.zip
linux-user: Remove type casts to union type
Casting to a union type is a gcc (and clang) extension. Other compilers might not support it. This is not a problem today, but the type casts can be removed easily. Smatch now no longer complains like before: linux-user/syscall.c:3190:18: warning: cast to non-scalar linux-user/syscall.c:7348:44: warning: cast to non-scalar Cc: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user/strace.c')
0 files changed, 0 insertions, 0 deletions