summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/krb5/ccache/file/fcc_write.c2
1 files changed, 1 insertions, 1 deletions
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;