diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-02-08 15:40:58 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-10-08 19:46:47 +0300 |
commit | d1c002b6ae2dc81d97bbe23fe65e1960abdba9a4 (patch) | |
tree | e9add5febd3e6f4ed3bd51bb855302a71ed4a6f1 /linux-user/tilegx/target_structs.h | |
parent | c78d65e8a7d87badf46eda3a0b41330f5d239132 (diff) |
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/tilegx/target_structs.h')
0 files changed, 0 insertions, 0 deletions