summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-06-04 12:37:21 -0300
committerLaurent Vivier <laurent@vivier.eu>2018-06-11 14:40:11 +0200
commit1129dd712157b42397275681e6397bf2d6bdfa0e (patch)
tree5b2c920910db043477d994739d2efd08b840ec34 /scripts/qapi/commands.py
parent9f55925b8f50a962d1d08d815044db7767ae3838 (diff)
downloadfocaccia-qemu-1129dd712157b42397275681e6397bf2d6bdfa0e.tar.gz
focaccia-qemu-1129dd712157b42397275681e6397bf2d6bdfa0e.zip
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é <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180604153722.24956-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions