]> Git Repo - qemu.git/commit
linux-user: Export use is_error(), use it to avoid warnings
authorPhilippe Mathieu-Daudé <[email protected]>
Mon, 4 Jun 2018 15:37:21 +0000 (12:37 -0300)
committerLaurent Vivier <[email protected]>
Mon, 11 Jun 2018 12:40:11 +0000 (14:40 +0200)
commit1129dd712157b42397275681e6397bf2d6bdfa0e
tree5b2c920910db043477d994739d2efd08b840ec34
parent9f55925b8f50a962d1d08d815044db7767ae3838
linux-user: Export use is_error(), use it to avoid warnings

This fixes:

  linux-user/flatload.c:740:9: warning: Loss of sign in implicit conversion
      if (res > (unsigned long)-4096)
          ^~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20180604153722[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
linux-user/qemu.h
linux-user/syscall.c
This page took 0.02315 seconds and 4 git commands to generate.