From 4b6f6732ccf45b7f4ba90a4c23d946c82caa9ce3 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 24 Sep 2004 01:50:12 +0000 Subject: [PATCH] * xdr_rec.c (LAST_FRAG): Use 1L in case int is small git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16786 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 4 ++++ src/lib/rpc/xdr_rec.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 3b8cf71a0..382db5c8f 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-23 Ken Raeburn + + * xdr_rec.c (LAST_FRAG): Use 1L in case int is small. + 2004-09-22 Tom Yu * libgssrpc.exports: Export svc_maxfd. diff --git a/src/lib/rpc/xdr_rec.c b/src/lib/rpc/xdr_rec.c index 3e4299126..38e1f6323 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)(1 << 31)) +#define LAST_FRAG ((uint32_t)(1L << 31)) typedef struct rec_strm { caddr_t tcp_handle; -- 2.26.2