From: Matthias Dieter Wallnöfer Date: Fri, 20 Nov 2009 11:00:28 +0000 (+0100) Subject: s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning X-Git-Tag: samba-4.0.0alpha10~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f;p=thirdparty%2Fsamba.git s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning I removed one "const" in front of a string declaration to achieve this. Signed-off-by: Andrew Tridgell --- diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 508dbb02dc8..7341d0d9ca4 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -126,7 +126,7 @@ struct pvfs_dos_fileinfo { struct pvfs_filename { char *original_name; char *full_name; - const char *stream_name; /* does not include :$DATA suffix */ + char *stream_name; /* does not include :$DATA suffix */ uint32_t stream_id; /* this uses a hash, so is probabilistic */ bool has_wildcard; bool exists; /* true if the base filename exists */