From f8d4a0d9540ddcc8e28c50f017dd08e12500dabc Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 25 Apr 2008 18:38:52 +0000 Subject: [PATCH] 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 --- src/lib/rpc/xdr_rec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2