summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/mangle_map.c')
-rw-r--r--source3/smbd/mangle_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/mangle_map.c b/source3/smbd/mangle_map.c
index 71d9340718..553e3d949d 100644
--- a/source3/smbd/mangle_map.c
+++ b/source3/smbd/mangle_map.c
@@ -127,8 +127,8 @@ 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 *end; /* Used to find the end of strings. */
+ const char *start=MangledMap; /* Use this to search for mappings. */
+ const char *end; /* Used to find the end of strings. */
char *match_string;
pstring new_string; /* Make up the result here. */
char *np; /* Points into new_string. */