Skip to contentSkip to conversation

[5533] Fix GCC 4 signedness warning

Qemu-devel Blue Swirl 1 participant 1 message Oct 25, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5533

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5533
Author:   blueswir1
Date:     2008-10-25 11:25:48 +0000 (Sat, 25 Oct 2008)

Log Message:
-----------
Fix GCC 4 signedness warning

Modified Paths:
--------------
trunk/migration-tcp.c

Modified: trunk/migration-tcp.c
===================================================================

migration-tcp.c +1 -1
@@ -173,7 +173,7 @@
 {
     FdMigrationState *s = opaque;
     int val, ret;
-    int valsize = sizeof(val);
+    socklen_t valsize = sizeof(val);
 
     dprintf("connect completed\n");
     do {