summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-06-04 17:37:22 +0200
committerLaurent Vivier2018-06-11 14:40:11 +0200
commit71987b125ba49314b631f81a4f221e010fa9be48 (patch)
treebfbef1a99d620418240aff1964495fa2dcb755ce /tests/Makefile.include
parentlinux-user: Export use is_error(), use it to avoid warnings (diff)
downloadqemu-71987b125ba49314b631f81a4f221e010fa9be48.tar.gz
qemu-71987b125ba49314b631f81a4f221e010fa9be48.tar.xz
qemu-71987b125ba49314b631f81a4f221e010fa9be48.zip
linux-user: Use is_error() to avoid warnings and make the code clearer
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-3-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tests/Makefile.include')
0 files changed, 0 insertions, 0 deletions