Fix GCC 4 signedness warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5533 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2bd7318c1a
commit
4761a48bcd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user