mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
Update.
This commit is contained in:
parent
81e43fc19b
commit
446e763b48
@ -187,11 +187,11 @@ xdr_uint8_t (XDR *xdrs, uint8_t *uip)
|
||||
|
||||
switch (xdrs->x_op)
|
||||
{
|
||||
case XDR_DECODE:
|
||||
ut = (uint32_t) *uip;
|
||||
return XDR_GETINT32 (xdrs, (int32_t *) &ut);
|
||||
case XDR_ENCODE:
|
||||
if (!XDR_PUTINT32 (xdrs, (int32_t *) &ut))
|
||||
ut = (uint32_t) *uip;
|
||||
return XDR_PUTINT32 (xdrs, (int32_t *) &ut);
|
||||
case XDR_DECODE:
|
||||
if (!XDR_GETINT32 (xdrs, (int32_t *) &ut))
|
||||
return FALSE;
|
||||
*uip = (uint8_t) ut;
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user