From: Ken Raeburn Date: Fri, 24 Sep 2004 01:50:12 +0000 (+0000) Subject: * xdr_rec.c (LAST_FRAG): Use 1L in case int is small X-Git-Tag: krb5-1.4-beta1~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4b6f6732ccf45b7f4ba90a4c23d946c82caa9ce3;p=krb5.git * 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 --- 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;