[x264-devel] commit: Use correct format specifier for uint64_t (Panagiotis Issaris )

git version control git at videolan.org
Tue Sep 16 10:24:23 CEST 2008


x264 | branch: master | Panagiotis Issaris <takis at issaris.org> | Mon Sep 15 20:47:50 2008 +0200| [90220ef752a8f2de2f7d53bb266e64ba803bb09b] | committer: Guillaume Poirier 

Use correct format specifier for uint64_t

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=90220ef752a8f2de2f7d53bb266e64ba803bb09b
---

 gtk/x264_gtk_encode_main_window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gtk/x264_gtk_encode_main_window.c b/gtk/x264_gtk_encode_main_window.c
index fe6ac93..6deea6d 100644
--- a/gtk/x264_gtk_encode_main_window.c
+++ b/gtk/x264_gtk_encode_main_window.c
@@ -753,7 +753,7 @@ x264_fill_status_window (GIOChannel  *io UNUSED,
   gtk_entry_set_text (GTK_ENTRY (thread_data->video_rendering_rate),
                       str);
 
-  snprintf (str, 128, "%lld:%02lld:%02lld",
+  snprintf (str, 128, "%" PRId64 ":%02" PRId64 ":%02" PRId64,
             (pipe_data.elapsed / 1000000) / 3600,
             ((pipe_data.elapsed / 1000000) / 60) % 60,
             (pipe_data.elapsed / 1000000) % 60);



More information about the x264-devel mailing list