From 4a1fbf7bbfa4a01cf15765de588e6e3d666e3ff3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 27 Nov 2007 18:09:50 +0100 Subject: Fix build warning. Guenther (This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util.c b/source3/lib/util.c index eeaa7ea69c..7632364bde 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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)) -- cgit