[vlc-devel] [PATCH] stream_extractor/archive: use correct format specifier for ssize_t

Marvin Scholz epirat07 at gmail.com
Thu Mar 29 12:32:12 CEST 2018


---
 modules/stream_extractor/archive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_extractor/archive.c b/modules/stream_extractor/archive.c
index 9396c34c3e..b58453ab8c 100644
--- a/modules/stream_extractor/archive.c
+++ b/modules/stream_extractor/archive.c
@@ -194,7 +194,7 @@ static la_ssize_t libarchive_read_cb( libarchive_t* p_arc, void* p_obj,
     if( i_ret < 0 )
     {
         archive_set_error( p_sys->p_archive, ARCHIVE_FATAL,
-          "libarchive_read_cb failed = %" PRId64, i_ret );
+          "libarchive_read_cb failed = %zd", i_ret );
 
         return ARCHIVE_FATAL;
     }
-- 
2.14.3 (Apple Git-98)



More information about the vlc-devel mailing list