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

Marvin Scholz git at videolan.org
Thu Mar 29 17:23:51 CEST 2018


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Mar 29 12:32:12 2018 +0200| [9b84234fdbb8ecb588ef0d7d4c3e7a5083789905] | committer: Rémi Denis-Courmont

stream_extractor/archive: use correct format specifier for ssize_t

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 55c30095259704eca30e4d556a1bec78e2a6ac00)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9b84234fdbb8ecb588ef0d7d4c3e7a5083789905
---

 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;
     }



More information about the vlc-commits mailing list