Commit 4761a48bcd8ad51e22b77cf549737bff2c4ae893

Authored by blueswir1
1 parent 2bd7318c

Fix GCC 4 signedness warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5533 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
migration-tcp.c
... ... @@ -173,7 +173,7 @@ static void tcp_wait_for_connect(void *opaque)
173 173 {
174 174 FdMigrationState *s = opaque;
175 175 int val, ret;
176   - int valsize = sizeof(val);
  176 + socklen_t valsize = sizeof(val);
177 177  
178 178 dprintf("connect completed\n");
179 179 do {
... ...