From: Or Goshen <oberonc(a)gmail.com>
(cherry picked from commit 18b40a88925df737d3552fa646d35a185feb6c62)
---
src/proto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/proto.c b/src/proto.c
index fdd7ecc..315d945 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -213,7 +213,7 @@ guestfs___send (guestfs_h *g, int proc_nr,
{
struct guestfs_message_header hdr;
XDR xdr;
- u_int32_t len;
+ uint32_t len;
int serial = g->msg_next_serial++;
ssize_t r;
CLEANUP_FREE char *msg_out = NULL;
@@ -411,7 +411,7 @@ send_file_complete (guestfs_h *g)
static int
send_file_chunk (guestfs_h *g, int cancel, const char *buf, size_t buflen)
{
- u_int32_t len;
+ uint32_t len;
ssize_t r;
guestfs_chunk chunk;
XDR xdr;
--
1.8.3.1