signed/unsigned mismatch
authorTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 01:27:39 +0000 (01:27 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 01:27:39 +0000 (01:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/ChangeLog
src/lib/krb5/ccache/file/fcc_maybe.c

index 2bde4b58c5e30f46a11851bb550c2c16f4d4c344..a5e132d03ffbcf515fe8bee06b0cd884166205dc 100644 (file)
@@ -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
index e70645503003959d3ecdf66f212abe053829855a..ce7d033e4ee0d92130320f09501e8ca2ba2eacd3 100644 (file)
@@ -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;