]> granicus.if.org Git - libx264/commitdiff
Use correct format specifier for uint64_t
authorPanagiotis Issaris <takis@issaris.org>
Mon, 15 Sep 2008 18:47:50 +0000 (20:47 +0200)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Tue, 16 Sep 2008 08:27:11 +0000 (10:27 +0200)
gtk/x264_gtk_encode_main_window.c

index fe6ac934017a931ee8436ecb3a62c63d509c1502..6deea6d31a019d89ab1bf9504ff47b81718b8e7b 100644 (file)
@@ -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);