Skip to content
Commit 403a905b authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Greg Kurz
Browse files

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: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
parent 53e2c48d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment