diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 17:53:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 17:53:49 +0000 |
commit | 0e5d0c0ad882cbd74e57404a617ad042814bcff0 (patch) | |
tree | f57a7bd762235f9b09d86ba9456ed3d83858dc1b /sunrpc/xdr_sizeof.c | |
parent | 1df660845c6608c184587756db6706f1ee89c396 (diff) | |
download | glibc-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_sizeof.c')
-rw-r--r-- | sunrpc/xdr_sizeof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/xdr_sizeof.c b/sunrpc/xdr_sizeof.c index cbf8bdfd1e..76b53d9d57 100644 --- a/sunrpc/xdr_sizeof.c +++ b/sunrpc/xdr_sizeof.c @@ -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; } |