1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fix warning, prototype.

This commit is contained in:
Jelmer Vernooij 2008-10-12 02:59:30 +02:00
parent c4d3dc849f
commit 5237369ad8
2 changed files with 2 additions and 2 deletions

View File

@ -1662,7 +1662,7 @@ int fstr_sprintf(fstring s, const char *fmt, ...);
char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep);
char **str_list_copy(TALLOC_CTX *mem_ctx, const char **list);
bool str_list_compare(char **list1, char **list2);
size_t str_list_length( const char **list );
size_t str_list_length( const char * const*list );
bool str_list_sub_basic( char **list, const char *smb_name,
const char *domain_name );
bool str_list_substitute(char **list, const char *pattern, const char *insert);

View File

@ -491,7 +491,7 @@ static const struct {
**/
_PUBLIC_ void set_socket_options(int fd, const char *options)
{
const char **options_list = str_list_make(NULL, options, " \t,");
const char **options_list = (const char **)str_list_make(NULL, options, " \t,");
int j;
if (!options_list)