From f0cdbbf3be1044e55e4d353310c2145e2f9145c8 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 01:27:39 +0000 Subject: [PATCH] signed/unsigned mismatch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/ChangeLog | 4 ++++ src/lib/krb5/ccache/file/fcc_maybe.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog index 2bde4b58c..a5e132d03 100644 --- a/src/lib/krb5/ccache/file/ChangeLog +++ b/src/lib/krb5/ccache/file/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 13 10:56:00 1995 Keith Vetter (keithv@fusion.com) + + * fcc_maybe.c: signed/unsigned mismatch. + Mon Sep 11 21:05:40 1995 Ezra Peisach * fcc_maybe.c (krb5_fcc_open_file): use THREEPARAMOPEN instead of diff --git a/src/lib/krb5/ccache/file/fcc_maybe.c b/src/lib/krb5/ccache/file/fcc_maybe.c index e70645503..ce7d033e4 100644 --- a/src/lib/krb5/ccache/file/fcc_maybe.c +++ b/src/lib/krb5/ccache/file/fcc_maybe.c @@ -287,7 +287,7 @@ krb5_fcc_open_file (context, id, mode) } /* Skip past the header info for now */ if (fcc_flen = htons(fcc_flen)) { - if (read(fd, buf, fcc_flen) != fcc_flen) { + if ((krb5_ui_2) read(fd, buf, fcc_flen) != fcc_flen) { (void) fcc_lock_file(data, fd, UNLOCK_IT); (void) close(fd); return KRB5_CCACHE_BADVNO; -- 2.26.2