s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 20 Nov 2009 11:00:28 +0000 (12:00 +0100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 3 Dec 2009 10:46:31 +0000 (21:46 +1100)
I removed one "const" in front of a string declaration to achieve this.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/ntvfs/posix/vfs_posix.h

index 508dbb02dc80a0867faffde5da3f0ad48f33608a..7341d0d9ca40bd06e793c3fb98857e57f9e329cc 100644 (file)
@@ -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 */