mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning. * sunrpc/xdr_sizeof.c (x_inline): Likewise.
This commit is contained in:
parent
1df660845c
commit
0e5d0c0ad8
@ -1,5 +1,8 @@
|
||||
2001-01-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
|
||||
* sunrpc/xdr_sizeof.c (x_inline): Likewise.
|
||||
|
||||
* sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
|
||||
|
||||
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ x_inline (XDR *xdrs, int len)
|
||||
xdrs->x_base = 0;
|
||||
return NULL;
|
||||
}
|
||||
xdrs->x_base = (void *) len;
|
||||
xdrs->x_base = (void *) (long) len;
|
||||
xdrs->x_handy += len;
|
||||
return (int32_t *) xdrs->x_private;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user