diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-06-04 12:37:22 -0300 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-06-11 14:40:11 +0200 |
commit | 71987b125ba49314b631f81a4f221e010fa9be48 (patch) | |
tree | bfbef1a99d620418240aff1964495fa2dcb755ce /job-qmp.c | |
parent | 1129dd712157b42397275681e6397bf2d6bdfa0e (diff) |
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 'job-qmp.c')
0 files changed, 0 insertions, 0 deletions