diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/ccache/file/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/krb5/ccache/file/fcc_maybe.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <epeisach@kangaroo.mit.edu> * 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; |
