From 4761a48bcd8ad51e22b77cf549737bff2c4ae893 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 25 Oct 2008 11:25:48 +0000 Subject: [PATCH] Fix GCC 4 signedness warning git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5533 c046a42c-6fe2-441c-8c8c-71466251a162 --- migration-tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration-tcp.c b/migration-tcp.c index a2272a7287..698cd05d97 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 { -- GitLab