qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5533] Fix GCC 4 signedness warning


From: Blue Swirl
Subject: [Qemu-devel] [5533] Fix GCC 4 signedness warning
Date: Sat, 25 Oct 2008 11:25:49 +0000

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
===================================================================
--- trunk/migration-tcp.c       2008-10-25 11:23:27 UTC (rev 5532)
+++ trunk/migration-tcp.c       2008-10-25 11:25:48 UTC (rev 5533)
@@ -173,7 +173,7 @@
 {
     FdMigrationState *s = opaque;
     int val, ret;
-    int valsize = sizeof(val);
+    socklen_t valsize = sizeof(val);
 
     dprintf("connect completed\n");
     do {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]