summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2016-08-12 06:52:19 -0400
committerGravatar Patrick Griffis <tingping@tingping.se>2016-08-12 07:07:58 -0400
commit20ccbdef96125a32243f87e559fcaf2d99b507ce (patch)
tree4a7290c36440ed55ccd800f51474fbf35660041a
parent6f046708101e9ba49cd4ea5c9685044bd6cd135b (diff)
Fix format string on 32bit
-rw-r--r--src/trg-remote-prefs-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c
index 857acb3..3fcd910 100644
--- a/src/trg-remote-prefs-dialog.c
+++ b/src/trg-remote-prefs-dialog.c
@@ -475,7 +475,7 @@ static gboolean on_blocklist_updated(gpointer data)
if (response->status == CURLE_OK) {
JsonObject *args = get_arguments(response->obj);
gchar *labelText =
- g_strdup_printf(_("Blocklist (%ld entries)"),
+ g_strdup_printf(_("Blocklist (%" G_GINT64_FORMAT " entries)"),
json_object_get_int_member(args,
SGET_BLOCKLIST_SIZE));
gtk_button_set_label(GTK_BUTTON(priv->blocklist_check),
@@ -569,7 +569,7 @@ static GtkWidget *trg_rprefs_connPage(TrgRemotePrefsDialog * win,
hig_workarea_add_section_title(t, &row, _("Blocklist"));
- stringValue = g_strdup_printf(_("Blocklist (%ld entries)"),
+ stringValue = g_strdup_printf(_("Blocklist (%" G_GINT64_FORMAT " entries)"),
session_get_blocklist_size(s));
tb = priv->blocklist_check =
trg_json_widget_check_new(&priv->widgets, s,