diff options
Diffstat (limited to 'gtk/summary_dlg.c')
-rw-r--r-- | gtk/summary_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/summary_dlg.c b/gtk/summary_dlg.c index a466254e7c..d749048989 100644 --- a/gtk/summary_dlg.c +++ b/gtk/summary_dlg.c @@ -214,7 +214,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_) /* Dropped count */ if (summary.drops_known) { - g_snprintf(string_buff, SUM_STR_MAX, "%" PRIu64, summary.drops); + g_snprintf(string_buff, SUM_STR_MAX, "%" G_GINT64_MODIFIER "u", summary.drops); } else { g_snprintf(string_buff, SUM_STR_MAX, "unknown"); } @@ -320,9 +320,9 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_) add_string_to_list(list, "Avg. packet size", string_buff, string_buff2); /* Byte count */ - g_snprintf(string_buff, SUM_STR_MAX, "%" PRIu64, summary.bytes); + g_snprintf(string_buff, SUM_STR_MAX, "%" G_GINT64_MODIFIER "u", summary.bytes); if (summary.dfilter && summary.filtered_count > 0){ - g_snprintf(string_buff2, SUM_STR_MAX, "%" PRIu64, summary.filtered_bytes); + g_snprintf(string_buff2, SUM_STR_MAX, "%" G_GINT64_MODIFIER "u", summary.filtered_bytes); } else { strcpy(string_buff2, ""); } |