From ea1cec68bb598fa7a9c2ee493033817b5de7e3e1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 17 Jun 2003 09:40:35 +0000 Subject: Const fixes by metze Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508) --- source3/modules/vfs_recycle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules/vfs_recycle.c') 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, "/", "/"); -- cgit