summaryrefslogtreecommitdiff
path: root/isofs/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'isofs/lookup.c')
-rw-r--r--isofs/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/lookup.c b/isofs/lookup.c
index f5c216ea..d7c2db39 100644
--- a/isofs/lookup.c
+++ b/isofs/lookup.c
@@ -308,7 +308,7 @@ diskfs_get_directs (struct node *dp,
}
/* See if there's room to hold this one */
- name = rr.valid & VALID_NM ? rr.name : ep->name;
+ name = rr.valid & VALID_NM ? rr.name : (char *) ep->name;
namlen = rr.valid & VALID_NM ? strlen (name) : ep->namelen;
/* Name frobnication */