From fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 20 Nov 2009 12:00:28 +0100 Subject: 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 --- source4/ntvfs/posix/vfs_posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntvfs/posix') diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 508dbb02dc..7341d0d9ca 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 */ -- cgit