suppress signed/unsigned-comparison warnings
authorJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 13:32:40 +0000 (15:32 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 15:20:06 +0000 (17:20 +0200)
* src/guestfs.c [struct guestfs_h] (msg_in_size, msg_in_allocated):
(msg_out_size, msg_out_allocated): Change type from int to unsigned int.

src/guestfs.c

index 6eae692..0c007d2 100644 (file)
@@ -202,9 +202,9 @@ struct guestfs_h
 
   /* Messages sent and received from the daemon. */
   char *msg_in;
 
   /* Messages sent and received from the daemon. */
   char *msg_in;
-  int msg_in_size, msg_in_allocated;
+  unsigned int msg_in_size, msg_in_allocated;
   char *msg_out;
   char *msg_out;
-  int msg_out_size, msg_out_pos;
+  unsigned int msg_out_size, msg_out_pos;
 
   int msg_next_serial;
 };
 
   int msg_next_serial;
 };