Fix build warning.
authorGünther Deschner <gd@samba.org>
Tue, 27 Nov 2007 17:09:50 +0000 (18:09 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 30 Nov 2007 00:45:06 +0000 (01:45 +0100)
Guenther
(This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)

source3/lib/util.c

index eeaa7ea69cf5465dff4db96a56f4a18e4864df44..7632364bdea849a58f86d5c504d671276b969472 100644 (file)
@@ -1304,7 +1304,7 @@ int interpret_protocol(const char *str,int def)
 static char *strip_mount_options(const char *str)
 {
        if (*str == '-') {
-               char *p = str;
+               const char *p = str;
                while(*p && !isspace(*p))
                        p++;
                while(*p && isspace(*p))