cast args to write()
authorJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:07:28 +0000 (17:07 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:07:28 +0000 (17:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@651 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc_write.c

index f77cd40b931332b17646e8803d67c25bd1c4d8b0..afff300de9d6f100365aa557ce222369c57698e1 100644 (file)
@@ -93,7 +93,7 @@ krb5_fcc_store_keyblock(id, keyblock)
      CHECK(ret);
      ret = krb5_fcc_store_int(id, &keyblock->length);
      CHECK(ret);
-     ret = write(((krb5_fcc_data *) id->data)->fd, keyblock->contents,
+     ret = write(((krb5_fcc_data *) id->data)->fd, (char *)keyblock->contents,
                 (keyblock->length)*sizeof(krb5_octet));
      if (ret < 0)
          return errno;