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>
Loading
Please register or sign in to comment