From: Jim Meyering <meyering(a)redhat.com>
* 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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/generator.ml b/src/generator.ml
index cc97dd5..ddc9ab9 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -4532,7 +4532,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.6.4.378.g88f2f