summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-20 11:56:16 +0100
committerAndrew Tridgell <tridge@samba.org>2009-12-03 21:46:31 +1100
commit1a855eb741c356262382f04357abdabe0bd2ad1b (patch)
treea96cea1b8a8a8c84e25c7c80a37d202ecb6deac1 /source4/ntvfs/posix/vfs_posix.h
parentcdb68bd2b61147df77b7f2de3fb4e29be07e7bd9 (diff)
downloadsamba-1a855eb741c356262382f04357abdabe0bd2ad1b.tar.gz
samba-1a855eb741c356262382f04357abdabe0bd2ad1b.tar.bz2
samba-1a855eb741c356262382f04357abdabe0bd2ad1b.zip
s4:ntvfs/posix/pvfs_resolve - Fix "discard const" warning
I removed two "const"s in front of string declarations to achieve this. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index b032ab3f93..508dbb02dc 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -124,7 +124,7 @@ struct pvfs_dos_fileinfo {
a filename passed by the client to any function
*/
struct pvfs_filename {
- const char *original_name;
+ char *original_name;
char *full_name;
const char *stream_name; /* does not include :$DATA suffix */
uint32_t stream_id; /* this uses a hash, so is probabilistic */