From c32e50462ec9fbd473946f4dc61afcaad89ba444 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 20 Jun 2012 15:19:05 +0200 Subject: [PATCH] Remove wrong cast --- modules/csync_owncloud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/csync_owncloud.c b/modules/csync_owncloud.c index 7e9b394d33..0726c90710 100644 --- a/modules/csync_owncloud.c +++ b/modules/csync_owncloud.c @@ -904,7 +904,7 @@ static csync_vio_method_handle_t *owncloud_open(const char *durl, if( c_streq( dir, _lastDir )) { DEBUG_WEBDAV("Dir %s is there, we know it already.", dir); } else { - if( owncloud_stat( dir, (csync_vio_method_handle_t*)(&statBuf) ) == 0 ) { + if( owncloud_stat( dir, &statBuf ) == 0 ) { SAFE_FREE(statBuf.name); DEBUG_WEBDAV("Directory of file to open exists."); SAFE_FREE( _lastDir );