]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sunrpc/xdr_stdio.c
Consistently use uintN_t not u_intN_t everywhere.
[thirdparty/glibc.git] / sunrpc / xdr_stdio.c
index 6ab514b664705e8ea7b4c5ee1a48e20289265ebd..0c2cbb78ded8a229d08a35c21c95c12d92aa80fd 100644 (file)
@@ -106,7 +106,7 @@ xdrstdio_destroy (XDR *xdrs)
 static bool_t
 xdrstdio_getlong (XDR *xdrs, long *lp)
 {
-  u_int32_t mycopy;
+  uint32_t mycopy;
 
   if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1)
     return FALSE;
@@ -117,7 +117,7 @@ xdrstdio_getlong (XDR *xdrs, long *lp)
 static bool_t
 xdrstdio_putlong (XDR *xdrs, const long *lp)
 {
-  int32_t mycopy = htonl ((u_int32_t) *lp);
+  int32_t mycopy = htonl ((uint32_t) *lp);
 
   if (fwrite ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1)
     return FALSE;