From 1821af4d614aa8bd6a5b911217ac1f557a19820a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 18 Aug 2009 15:12:26 +0200 Subject: [PATCH] generator.ml: suppress signed/unsigned-compare warnings * src/generator.ml (check_reply_header): Emit parameter declarations that are unsigned, so as to avoid signed/unsigned-compare warnings. --- src/generator.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.ml b/src/generator.ml index 18504d5..9393bde 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -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); -- 1.8.3.1