diff options
Diffstat (limited to 'source4/param/generic.c')
-rw-r--r-- | source4/param/generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/generic.c b/source4/param/generic.c index b86e3ad234..ed3045605d 100644 --- a/source4/param/generic.c +++ b/source4/param/generic.c @@ -17,7 +17,7 @@ */ #include "includes.h" -#include "lib/util/dlinklist.h" +#include "../lib/util/dlinklist.h" #include "param/param.h" #include "system/filesys.h" @@ -130,7 +130,7 @@ const char **param_get_string_list(struct param_context *ctx, const char *param, if (separator == NULL) separator = LIST_SEP; - return str_list_make(ctx, p->value, separator); + return (const char **)str_list_make(ctx, p->value, separator); } int param_set_string_list(struct param_context *ctx, const char *param, const char **list, const char *section) |