From: Ken Raeburn Date: Fri, 25 Apr 2008 18:38:52 +0000 (+0000) Subject: Left-shifting all the way in signed math is undefined, use unsigned X-Git-Tag: krb5-1.7-alpha1~691 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8d4a0d9540ddcc8e28c50f017dd08e12500dabc;p=krb5.git Left-shifting all the way in signed math is undefined, use unsigned git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20310 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/xdr_rec.c b/src/lib/rpc/xdr_rec.c index 38e1f6323..05e42e975 100644 --- a/src/lib/rpc/xdr_rec.c +++ b/src/lib/rpc/xdr_rec.c @@ -89,7 +89,7 @@ static struct xdr_ops xdrrec_ops = { * meet the needs of xdr and rpc based on tcp. */ -#define LAST_FRAG ((uint32_t)(1L << 31)) +#define LAST_FRAG ((uint32_t)(1UL << 31)) typedef struct rec_strm { caddr_t tcp_handle;