Displaying 1 result from an estimated 1 matches for "f31f1f2".
Did you mean:
a31f1f02
2009 Nov 25
1
[PATCH] daemon/Win32: Use xdr_u_int for PortableXDR compatibility.
...nt for PortableXDR compatibility.
PortableXDR didn't support xdr_uint32_t. xdr_u_int is the same type.
---
daemon/guestfsd.c | 2 +-
daemon/proto.c | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index 67206d0..f31f1f2 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -311,7 +311,7 @@ main (int argc, char *argv[])
XDR xdr;
uint32_t len = GUESTFS_LAUNCH_FLAG;
xdrmem_create (&xdr, lenbuf, sizeof lenbuf, XDR_ENCODE);
- xdr_uint32_t (&xdr, &len);
+ xdr_u_int (&xdr, &len);
i...