X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fsmb.c;h=72b85367e300842c5cf09d5040c3f6008f614d09;hb=80dd59664eb78583ed98a9016d44a162da346321;hp=42a66082cd91b09b75667acbc41fbff753e2c265;hpb=374050a4393545b014df384ed9b66a179d4c2708;p=vlc diff --git a/modules/access/smb.c b/modules/access/smb.c index 42a66082cd..72b85367e3 100644 --- a/modules/access/smb.c +++ b/modules/access/smb.c @@ -226,7 +226,7 @@ static int Open( vlc_object_t *p_this ) return VLC_EGENERIC; } - if( !(p_file = p_smb->open( p_smb, psz_uri, O_RDONLY, 0 )) ) + if( !(p_file = (p_smb->open)( p_smb, psz_uri, O_RDONLY, 0 )) ) { msg_Err( p_access, "open failed for '%s' (%s)", p_access->psz_path, strerror(errno) ); @@ -251,7 +251,7 @@ static int Open( vlc_object_t *p_this ) } #endif - if( (i_smb = smbc_open( psz_uri, O_RDONLY, 0 )) < 0 ) + if( (i_smb = (smbc_open)( psz_uri, O_RDONLY, 0 )) < 0 ) { msg_Err( p_access, "open failed for '%s' (%s)", p_access->psz_path, strerror(errno) );