[vlc-commits] text: fix format strings
Rémi Denis-Courmont
git at videolan.org
Sat Jul 13 10:42:09 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 13 11:35:31 2019 +0300| [b43c22e1b377c3dbbb756ca6f590b5ca9708db3c] | committer: Rémi Denis-Courmont
text: fix format strings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b43c22e1b377c3dbbb756ca6f590b5ca9708db3c
---
src/text/strings.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/text/strings.c b/src/text/strings.c
index fb22f9b0f8..192bd62f89 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -669,7 +669,7 @@ char *vlc_strfplayer(vlc_player_t *player, input_item_t *item, const char *s)
ssize_t chapter = vlc_player_GetSelectedChapterIdx(player);
if (chapter != -1)
{
- vlc_memstream_printf(stream, "%"PRId64, chapter);
+ vlc_memstream_printf(stream, "%zd", chapter);
break;
}
}
@@ -699,7 +699,7 @@ char *vlc_strfplayer(vlc_player_t *player, input_item_t *item, const char *s)
ssize_t title = vlc_player_GetSelectedTitleIdx(player);
if (title != -1)
{
- vlc_memstream_printf(stream, "%"PRId64, title);
+ vlc_memstream_printf(stream, "%zd", title);
break;
}
}
More information about the vlc-commits
mailing list