summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-get-trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c
index b090c743..17bcc2bb 100644
--- a/libdiskfs/file-get-trans.c
+++ b/libdiskfs/file-get-trans.c
@@ -35,7 +35,7 @@ diskfs_S_file_get_translator (struct protid *cred,
if (!diskfs_node_translated (np))
error = EINVAL;
else
- error = diskfs_get_translator (np, trans);
+ error = diskfs_get_translator (np, (char **)trans);
mutex_unlock (&np->lock);
return error;