summaryrefslogtreecommitdiff
path: root/src/torrent-cell-renderer.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 20:25:45 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit0646e115fd635e0b96739ea39e65c0ef78ffaa30 (patch)
tree14651704a28f0c5c6a6b26d95d6c8cf7617e93a1 /src/torrent-cell-renderer.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/torrent-cell-renderer.c')
-rw-r--r--src/torrent-cell-renderer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/torrent-cell-renderer.c b/src/torrent-cell-renderer.c
index d8ea50b..632d418 100644
--- a/src/torrent-cell-renderer.c
+++ b/src/torrent-cell-renderer.c
@@ -322,16 +322,16 @@ static void getStatusString(GString * gstr, TorrentCellRenderer * r)
if (priv->fileCount > 0) {
g_string_append_printf(gstr,
ngettext
- ("Downloading from %1$lli of %2$lli connected peer",
- "Downloading from %1$lli of %2$lli connected peers",
+ ("Downloading from %1$"G_GUINT64_FORMAT" of %2$"G_GUINT64_FORMAT" connected peer",
+ "Downloading from %1$"G_GUINT64_FORMAT" of %2$"G_GUINT64_FORMAT" connected peers",
priv->webSeedsToUs + priv->peersToUs),
priv->webSeedsToUs + priv->peersToUs,
priv->webSeedsToUs + priv->connected);
} else {
g_string_append_printf(gstr,
ngettext
- ("Downloading metadata from %1$lli peer (%2$s done)",
- "Downloading metadata from %1$lli peers (%2$s done)",
+ ("Downloading metadata from %1$"G_GUINT64_FORMAT" peer (%2$s done)",
+ "Downloading metadata from %1$"G_GUINT64_FORMAT" peers (%2$s done)",
priv->connected + priv->webSeedsToUs),
priv->connected + priv->webSeedsToUs,
tr_strlpercent(buf,
@@ -341,8 +341,8 @@ static void getStatusString(GString * gstr, TorrentCellRenderer * r)
} else if (priv->flags & TORRENT_FLAG_SEEDING) {
g_string_append_printf(gstr,
ngettext
- ("Seeding to %1$lli of %2$lli connected peer",
- "Seeding to %1$lli of %2$lli connected peers",
+ ("Seeding to %1$"G_GUINT64_FORMAT" of %2$"G_GUINT64_FORMAT" connected peer",
+ "Seeding to %1$"G_GUINT64_FORMAT" of %2$"G_GUINT64_FORMAT" connected peers",
priv->connected), priv->peersFromUs,
priv->connected);
}