From ccebaedd24cacea4243020acd0a71209426a57f6 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 31 Aug 1994 18:11:59 +0000 Subject: Formerly file-get-trans.c.~11~ --- libdiskfs/file-get-trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c index a2971364..73fd3a61 100644 --- a/libdiskfs/file-get-trans.c +++ b/libdiskfs/file-get-trans.c @@ -81,7 +81,7 @@ diskfs_S_file_get_translator (struct protid *cred, buflen++; /* terminating nul */ if (buflen > *translen) - vm_allocate (mach_task_self (), (vm_address_t) trans, buflen, 1); + vm_allocate (mach_task_self (), (vm_address_t *) trans, buflen, 1); bcopy (buf, *trans, buflen); *translen = buflen; error = 0; -- cgit v1.2.3