diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-25 11:25:48 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-25 11:25:48 +0000 |
commit | 4761a48bcd8ad51e22b77cf549737bff2c4ae893 (patch) | |
tree | 86705a0bfb23d50e51ee45dd037b2898662d97b8 /migration-tcp.c | |
parent | Replace uses of strndup (a GNU extension) with Qemu pstrdup (diff) | |
download | qemu-kvm-4761a48bcd8ad51e22b77cf549737bff2c4ae893.tar.gz qemu-kvm-4761a48bcd8ad51e22b77cf549737bff2c4ae893.tar.bz2 qemu-kvm-4761a48bcd8ad51e22b77cf549737bff2c4ae893.zip |
Fix GCC 4 signedness warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5533 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'migration-tcp.c')
-rw-r--r-- | migration-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-tcp.c b/migration-tcp.c index a2272a728..698cd05d9 100644 --- a/migration-tcp.c +++ b/migration-tcp.c @@ -173,7 +173,7 @@ static void tcp_wait_for_connect(void *opaque) { FdMigrationState *s = opaque; int val, ret; - int valsize = sizeof(val); + socklen_t valsize = sizeof(val); dprintf("connect completed\n"); do { |