summaryrefslogtreecommitdiffstats
path: root/source/modules/vfs_catia.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/vfs_catia.c')
-rw-r--r--source/modules/vfs_catia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/modules/vfs_catia.c b/source/modules/vfs_catia.c
index 3bdd4116a8e..325ec16e499 100644
--- a/source/modules/vfs_catia.c
+++ b/source/modules/vfs_catia.c
@@ -39,7 +39,7 @@ static void catia_string_replace(char *s, unsigned char oldc, unsigned
for (;*ptr;ptr++)
if (*ptr==old) *ptr=newc;
- pull_ucs2(NULL, s, tmpbuf, -1, sizeof(tmpbuf), STR_TERMINATE);
+ pull_ucs2(NULL, s, tmpbuf, sizeof(pstring), sizeof(tmpbuf), STR_TERMINATE);
}
static void from_unix(char *s)