commit | 403a905b03d48187df1e1392bfa3e303eeefe892 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | Wed Aug 09 16:32:46 2017 +0200 |
committer | Greg Kurz <groug@kaod.org> | Tue Sep 05 14:01:16 2017 +0200 |
tree | 080d61b54cab87d7b2c930ac666ba11f6a99cc82 | |
parent | 53e2c48d3f0db6a1598f49baf0b56dd4975e53a7 [diff] |
9pfs: avoid sign conversion error simplifying the code (note this is how other functions also handle the errors). hw/9pfs/9p.c:948:18: warning: Loss of sign in implicit conversion offset = err; ^~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Greg Kurz <groug@kaod.org>