From 5dc9c87f97c47fb95b2e30b799ee63f48bfb477c Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 1 May 1990 17:07:28 +0000 Subject: [PATCH] cast args to write() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@651 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2