From: Theodore Tso Date: Sat, 23 Sep 1995 01:27:39 +0000 (+0000) Subject: signed/unsigned mismatch X-Git-Tag: krb5-1.0-beta6~1040 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0cdbbf3be1044e55e4d353310c2145e2f9145c8;p=krb5.git signed/unsigned mismatch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;