aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 661f71f2..02f03496 100644
--- a/function.c
+++ b/function.c
@@ -102,7 +102,7 @@ static void autoload_names( array_list_t *out, int get_hidden )
suffix = wcsrchr( fn, L'.' );
if( suffix && (wcscmp( suffix, L".fish" ) == 0 ) )
{
- wchar_t *dup;
+ const wchar_t *dup;
*suffix = 0;
dup = intern( fn );
if( !dup )