mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Update.
* sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments. * iconv/gconv_open.c: Include string.h for memset prototype.
This commit is contained in:
parent
fd19ed3d03
commit
5ce1e7f91e
@ -1,6 +1,8 @@
|
|||||||
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
|
1999-06-18 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* iconv/gconv_open.c: Inlcude string.h for memset prototype.
|
* sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
|
||||||
|
|
||||||
|
* iconv/gconv_open.c: Include string.h for memset prototype.
|
||||||
|
|
||||||
* libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
|
* libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
|
||||||
definitions.
|
definitions.
|
||||||
|
@ -77,7 +77,7 @@ x_inline (XDR *xdrs, int len)
|
|||||||
return NULL;
|
return NULL;
|
||||||
if (xdrs->x_op != XDR_ENCODE)
|
if (xdrs->x_op != XDR_ENCODE)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (len < (int) xdrs->x_base)
|
if (len < (int) (long int) xdrs->x_base)
|
||||||
{
|
{
|
||||||
/* x_private was already allocated */
|
/* x_private was already allocated */
|
||||||
xdrs->x_handy += len;
|
xdrs->x_handy += len;
|
||||||
@ -93,7 +93,7 @@ x_inline (XDR *xdrs, int len)
|
|||||||
xdrs->x_base = 0;
|
xdrs->x_base = 0;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
xdrs->x_base = (caddr_t) len;
|
xdrs->x_base = (void *) len;
|
||||||
xdrs->x_handy += len;
|
xdrs->x_handy += len;
|
||||||
return (int32_t *) xdrs->x_private;
|
return (int32_t *) xdrs->x_private;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user