diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-05-29 18:52:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-05-29 18:52:42 +0000 |
commit | 5a43799a17572c9a9962dc76fd681a14bb7689de (patch) | |
tree | 362095c0935c7f6d8f0018b30fb612222ea70263 /gtk/service_response_time_table.c | |
parent | bf167869027678071c584520fee3e95f88680116 (diff) |
Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines. GLib might use different
modifiers for 64-bit quantities than the platform's C library does.
svn path=/trunk/; revision=21990
Diffstat (limited to 'gtk/service_response_time_table.c')
-rw-r--r-- | gtk/service_response_time_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/service_response_time_table.c b/gtk/service_response_time_table.c index 46146a9ae9..a7c3838ad8 100644 --- a/gtk/service_response_time_table.c +++ b/gtk/service_response_time_table.c @@ -530,7 +530,7 @@ draw_srt_table_data(srt_stat_table *rst) g_free(rst->procedures[i].entries[4]); rst->procedures[i].entries[4]=strp; - strp=g_strdup_printf("%3" PRId64 ".%05" PRId64, + strp=g_strdup_printf("%3" G_GINT64_MODIFIER "d.%05" G_GINT64_MODIFIER "d", td/100000, td%100000); gtk_clist_set_text(rst->table, j, 5, strp); g_free(rst->procedures[i].entries[5]); |