diff options
| author | Joel Schopp <jschopp@austin.ibm.com> | 2010-07-21 15:05:16 -0500 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-30 23:05:51 +0200 |
| commit | ca1d6ac657ff1cebd689b5d93784402e7ceb52c3 (patch) | |
| tree | 44f55f753788a35b480d2e7a00623e57c5d70cd8 /hw/vhost_net.c | |
| parent | 61bca2942c94bcb1d763dd5fff8cdbd0a05e9ae0 (diff) | |
| download | focaccia-qemu-ca1d6ac657ff1cebd689b5d93784402e7ceb52c3.tar.gz focaccia-qemu-ca1d6ac657ff1cebd689b5d93784402e7ceb52c3.zip | |
fix variable type in qemu-io.c
The variable len can get a negative return value from cvtnum, which we check for, but which is impossible with the current unsigned variable type. Currently the if(len < 0) check is pointless. This patch fixes that. Signed-off-by: Joel Schopp <jschopp@austin.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/vhost_net.c')
0 files changed, 0 insertions, 0 deletions