updated the 3.0 branch from the head branch - ready for alpha18
[samba.git] / source3 / smbd / mangle_map.c
index 71d9340718140cbba2bea60dfd450fa70143c9fb..553e3d949de7086a9e2cb89fa7f9cfcc2ba926f6 100644 (file)
@@ -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. */