linux-user: Remove type casts to union type
commitd1c002b6ae2dc81d97bbe23fe65e1960abdba9a4
authorStefan Weil <sw@weilnetz.de>
Sun, 8 Feb 2015 14:40:58 +0000 (8 15:40 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 Oct 2015 16:46:47 +0000 (8 19:46 +0300)
treee9add5febd3e6f4ed3bd51bb855302a71ed4a6f1
parentc78d65e8a7d87badf46eda3a0b41330f5d239132
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>
linux-user/syscall.c