[PATCH] Use correct format specifier for uint64_t
Panagiotis Issaris
takis at issaris.org
Mon Sep 15 20:47:50 CEST 2008
---
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);
--
1.5.4.3
--=-DadJL8c8Mwry7wskgXvJ--
More information about the x264-devel
mailing list