summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-27 18:09:50 +0100
committerGünther Deschner <gd@samba.org>2007-11-30 01:45:06 +0100
commit4a1fbf7bbfa4a01cf15765de588e6e3d666e3ff3 (patch)
treee7e86f1c042dc92f4ea492952a9c1b9e8f705f68
parentb7db7c8352c4cab8bfd39c9767536fb9ecb93939 (diff)
downloadsamba-4a1fbf7bbfa4a01cf15765de588e6e3d666e3ff3.tar.gz
samba-4a1fbf7bbfa4a01cf15765de588e6e3d666e3ff3.tar.bz2
samba-4a1fbf7bbfa4a01cf15765de588e6e3d666e3ff3.zip
Fix build warning.
Guenther (This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
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))