Displaying 1 result from an estimated 1 matches for "e9961d1".
Did you mean:
4996171
2009 Sep 17
2
[PATCH] Fix verbose packet dumping functions.
...i += 16) {
- printf ("%04x: ", i);
+ printf ("%04zx: ", i);
for (j = i; j < MIN (i+16, len); ++j)
printf ("%02x ", (unsigned char) buf[j]);
for (; j < i+16; ++j)
diff --git a/src/guestfs.c b/src/guestfs.c
index 17974fd..e9961d1 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -1902,18 +1902,18 @@ recv_from_daemon (guestfs_h *g, uint32_t *size_rtn, void **buf_rtn)
/* Got the full message, caller can start processing it. */
#if 0
if (g->verbose) {
- size_t i, j;
+ ssize_t i, j;
for (i = 0; i < nr;...