generator.ml: suppress signed/unsigned-compare warnings
authorJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 13:12:26 +0000 (15:12 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 15:20:06 +0000 (17:20 +0200)
* src/generator.ml (check_reply_header): Emit parameter declarations
that are unsigned, so as to avoid signed/unsigned-compare warnings.

src/generator.ml

index 18504d5..9393bde 100755 (executable)
@@ -4541,7 +4541,7 @@ and generate_client_actions () =
 static int
 check_reply_header (guestfs_h *g,
                     const struct guestfs_message_header *hdr,
-                    int proc_nr, int serial)
+                    unsigned int proc_nr, unsigned int serial)
 {
   if (hdr->prog != GUESTFS_PROGRAM) {
     error (g, \"wrong program (%%d/%%d)\", hdr->prog, GUESTFS_PROGRAM);