summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 96207ab9c..ee8c14d35 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -7190,7 +7190,7 @@ readdir_core(
ga_init2(gap, (int)sizeof(char *), 20);
#ifdef MSWIN
- buf = alloc((int)MAXPATHL);
+ buf = alloc(MAXPATHL);
if (buf == NULL)
return FAIL;
STRNCPY(buf, path, MAXPATHL-5);