]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
* xdr_rec.c (LAST_FRAG): Use 1L in case int is small
authorKen Raeburn <raeburn@mit.edu>
Fri, 24 Sep 2004 01:50:12 +0000 (01:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 24 Sep 2004 01:50:12 +0000 (01:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16786 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/ChangeLog
src/lib/rpc/xdr_rec.c

index 3b8cf71a046c3e889c4854d66b590183cef779df..382db5c8f486d216e5981268381a45e11c81f6a7 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-23  Ken Raeburn  <raeburn@mit.edu>
+
+       * xdr_rec.c (LAST_FRAG): Use 1L in case int is small.
+
 2004-09-22  Tom Yu  <tlyu@mit.edu>
 
        * libgssrpc.exports: Export svc_maxfd.
index 3e4299126aabe1701ea7c48c36a1f99810a84332..38e1f632352b0ef59e80e189b2b567d8e419b9b8 100644 (file)
@@ -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;