qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5533] Fix GCC 4 signedness warning
@ 2008-10-25 11:25 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-10-25 11:25 UTC (permalink / raw)
  To: qemu-devel

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 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-25 11:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25 11:25 [Qemu-devel] [5533] Fix GCC 4 signedness warning Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).