summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index 574c170e..08ad823c 100644
--- a/stream.c
+++ b/stream.c
@@ -1470,7 +1470,7 @@ val flush_stream(val stream)
static DIR *w_opendir(const wchar_t *wname)
{
- char *name = (char *) utf8_dup_to(wname);
+ char *name = utf8_dup_to(wname);
DIR *d = opendir(name);
free(name);
return d;