diff options
Diffstat (limited to 'source/smbd/mangle_map.c')
-rw-r--r-- | source/smbd/mangle_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/mangle_map.c b/source/smbd/mangle_map.c index 71d93407181..372ddc0bd49 100644 --- a/source/smbd/mangle_map.c +++ b/source/smbd/mangle_map.c @@ -127,7 +127,7 @@ static char *map_filename( char *s, /* This is null terminated */ */ static void mangled_map(char *s, const char *MangledMap) { - char *start=MangledMap; /* Use this to search for mappings. */ + char *start=(char*)MangledMap; /* Use this to search for mappings. */ char *end; /* Used to find the end of strings. */ char *match_string; pstring new_string; /* Make up the result here. */ |