git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ab20e
)
generator.ml: suppress signed/unsigned-compare warnings
author
Jim Meyering
<meyering@redhat.com>
Tue, 18 Aug 2009 13:12:26 +0000
(15:12 +0200)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
18504d5
..
9393bde
100755
(executable)
--- 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);