about summary refs log tree commit diff
path: root/sunrpc/xdr_rec.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 17:53:49 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 17:53:49 +0000
commit0e5d0c0ad882cbd74e57404a617ad042814bcff0 (patch)
treef57a7bd762235f9b09d86ba9456ed3d83858dc1b /sunrpc/xdr_rec.c
parent1df660845c6608c184587756db6706f1ee89c396 (diff)
downloadglibc-0e5d0c0ad882cbd74e57404a617ad042814bcff0.tar.gz
glibc-0e5d0c0ad882cbd74e57404a617ad042814bcff0.tar.xz
glibc-0e5d0c0ad882cbd74e57404a617ad042814bcff0.zip
Update.
	* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
	* sunrpc/xdr_sizeof.c (x_inline): Likewise.
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r--sunrpc/xdr_rec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index a3b90ce41c..7d5611961a 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -304,7 +304,7 @@ xdrrec_getpos (const XDR *xdrs)
   RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private;
   long pos;
 
-  pos = __lseek ((int) rstrm->tcp_handle, (long) 0, 1);
+  pos = __lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1);
   if (pos != -1)
     switch (xdrs->x_op)
       {