summaryrefslogtreecommitdiffstats
path: root/hw/msix.c
diff options
context:
space:
mode:
authorBlue Swirl2010-09-18 07:53:14 +0200
committerBlue Swirl2010-09-18 07:53:14 +0200
commit3872425343439555e543cd606c44a79dbcc168d4 (patch)
tree496137982866b606182dc739f64512e5ac477ecb /hw/msix.c
parentCheck for errors during BIOS or kernel load (diff)
downloadqemu-3872425343439555e543cd606c44a79dbcc168d4.tar.gz
qemu-3872425343439555e543cd606c44a79dbcc168d4.tar.xz
qemu-3872425343439555e543cd606c44a79dbcc168d4.zip
linux-user: fix socklen_t comparisons
On many systems, socklen_t is defined as unsigned. This means that checks for negative values are not meaningful. Fix by explicitly casting to a signed integer. This also avoids some warnings with GCC flag -Wtype-limits. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/msix.c')
0 files changed, 0 insertions, 0 deletions