diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-28 15:12:56 +0000 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-04-18 10:33:36 +0400 |
| commit | 423d00c857ebc814ef6b5fc63f1d6c595cdc005d (patch) | |
| tree | c032e6853c2ad0239eb3bcabf1a960638db6a523 /hw/net/cadence_gem.c | |
| parent | ee25595f0126de0f83da86cc29ba2365be7a50d2 (diff) | |
| download | focaccia-qemu-423d00c857ebc814ef6b5fc63f1d6c595cdc005d.tar.gz focaccia-qemu-423d00c857ebc814ef6b5fc63f1d6c595cdc005d.zip | |
int128.h: Avoid undefined behaviours involving signed arithmetic
Add casts when we're performing arithmetic on the .hi parts of an Int128, to avoid undefined behaviour. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions