summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-18 15:32:40 +0200
committerJim Meyering <meyering@redhat.com>2009-08-18 17:20:06 +0200
commitd93a02ce3ff1a8aa8ef2ca8be5bf79bbcf8537f4 (patch)
treeeb1ede64d1050a9895570cc21d4267aa460d8dc9 /src
parentdd922bedb7c3e85fbbe1eed10e371aec47138a1d (diff)
downloadlibguestfs-d93a02ce3ff1a8aa8ef2ca8be5bf79bbcf8537f4.tar.gz
libguestfs-d93a02ce3ff1a8aa8ef2ca8be5bf79bbcf8537f4.tar.xz
libguestfs-d93a02ce3ff1a8aa8ef2ca8be5bf79bbcf8537f4.zip
suppress signed/unsigned-comparison warnings
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/guestfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index 6eae6929..0c007d20 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -202,9 +202,9 @@ struct guestfs_h
/* 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;
- int msg_out_size, msg_out_pos;
+ unsigned int msg_out_size, msg_out_pos;
int msg_next_serial;
};