summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 46feb28d5..825e6f3c1 100644
--- a/unix.c
+++ b/unix.c
@@ -263,7 +263,7 @@ char *FiosBrowseTo(const FiosItem *item)
break;
case FIOS_TYPE_DIR:
- s = strchr((char*)item->name, '/');
+ s = strchr(item->name, '/');
if (s) *s = 0;
while (*path) path++;
*path++ = '/';