From: John Kohl Date: Tue, 1 May 1990 17:07:28 +0000 (+0000) Subject: cast args to write() X-Git-Tag: krb5-1.0-alpha2~745 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dc9c87f97c47fb95b2e30b799ee63f48bfb477c;p=krb5.git cast args to write() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@651 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/file/fcc_write.c b/src/lib/krb5/ccache/file/fcc_write.c index f77cd40b9..afff300de 100644 --- a/src/lib/krb5/ccache/file/fcc_write.c +++ b/src/lib/krb5/ccache/file/fcc_write.c @@ -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;