X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fftp.c;h=c171b71d35e13ea41b3a6d9e7b26677547e272bb;hb=97897eeeb22b1238e56632b16cda1a0375ae7708;hp=3aca2f6050521559349cea059b55492325c3ced7;hpb=f0c83daa831d070058e04142791eb9d9d0423e0b;p=vlc diff --git a/modules/access/ftp.c b/modules/access/ftp.c index 3aca2f6050..c171b71d35 100644 --- a/modules/access/ftp.c +++ b/modules/access/ftp.c @@ -334,7 +334,7 @@ static int InOpen( vlc_object_t *p_this ) } p_access->info.i_size = atoll( &psz_arg[4] ); free( psz_arg ); - msg_Dbg( p_access, "file size: "I64Fd, p_access->info.i_size ); + msg_Dbg( p_access, "file size: %"PRId64, p_access->info.i_size ); /* Start the 'stream' */ if( ftp_StartStream( p_this, p_sys, 0 ) < 0 ) @@ -436,7 +436,7 @@ static int _Seek( vlc_object_t *p_access, access_sys_t *p_sys, int64_t i_pos ) if( i_pos < 0 ) return VLC_EGENERIC; - msg_Dbg( p_access, "seeking to "I64Fd, i_pos ); + msg_Dbg( p_access, "seeking to %"PRId64, i_pos ); ftp_StopStream( (vlc_object_t *)p_access, p_sys ); if( ftp_StartStream( (vlc_object_t *)p_access, p_sys, i_pos ) < 0 ) @@ -734,7 +734,7 @@ static int ftp_StartStream( vlc_object_t *p_access, access_sys_t *p_sys, if( i_start > 0 ) { - if( ftp_SendCommand( p_access, p_sys, "REST "I64Fu, i_start ) < 0 || + if( ftp_SendCommand( p_access, p_sys, "REST %"PRIu64, i_start ) < 0 || ftp_ReadCommand( p_access, p_sys, &i_answer, NULL ) > 3 ) { msg_Err( p_access, "cannot set restart offset" );