summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-17 09:40:35 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-17 09:40:35 +0000
commitea1cec68bb598fa7a9c2ee493033817b5de7e3e1 (patch)
tree13e360f84e28126b3970928b53ba5ee3633853d7 /source3/modules
parentac44100674110135a48d1df20eab933697ff520e (diff)
downloadsamba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.tar.gz
samba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.tar.bz2
samba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.zip
Const fixes by metze
Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_recycle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index 45c661edb7..80f243a168 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -287,7 +287,7 @@ static BOOL matchparam(const char **haystack_list, const char *needle)
}
for(i=0; haystack_list[i] ; i++) {
- if(!unix_wild_match((char *)haystack_list[i], (char *)needle)) {
+ if(!unix_wild_match(haystack_list[i], needle)) {
return True;
}
}
@@ -333,7 +333,7 @@ static int recycle_unlink(vfs_handle_struct *handle, connection_struct *conn, co
BOOL exist;
int rc = -1;
- repository = alloc_sub_conn(conn, (char *)recycle_repository(handle));
+ repository = alloc_sub_conn(conn, recycle_repository(handle));
ALLOC_CHECK(repository, done);
/* shouldn't we allow absolute path names here? --metze */
trim_string(repository, "/", "/");