diff options
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 5f95bcc558..a137d7cd8b 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1907,10 +1907,10 @@ bool is_in_path(const char *name, name_compare_entry *namelist, bool case_sensit if possible. ********************************************************************/ -void set_namearray(name_compare_entry **ppname_array, char *namelist) +void set_namearray(name_compare_entry **ppname_array, const char *namelist) { char *name_end; - char *nameptr = namelist; + const char *nameptr = namelist; int num_entries = 0; int i; |