diff options
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r-- | sunrpc/xdr_rec.c | 2 |
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) { |