Mercurial > pidgin.yaz
diff pidgin/gtkft.c @ 32760:edb20c793641
Fix printf format in Pidgin for 64-bit file transfers.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 16 Oct 2011 08:00:17 +0000 |
parents | 48bc3f9f2115 |
children |
line wrap: on
line diff
--- a/pidgin/gtkft.c Sun Oct 16 07:52:24 2011 +0000 +++ b/pidgin/gtkft.c Sun Oct 16 08:00:17 2011 +0000 @@ -247,7 +247,7 @@ get_xfer_info_strings(xfer, &kbsec, &time_elapsed, &time_remaining); - status = g_strdup_printf("%d%% (%" G_GSIZE_FORMAT " of %" G_GSIZE_FORMAT " bytes)", + status = g_strdup_printf("%d%% (%" G_GOFFSET_FORMAT " of %" G_GOFFSET_FORMAT " bytes)", (int)(purple_xfer_get_progress(xfer)*100), purple_xfer_get_bytes_sent(xfer), purple_xfer_get_size(xfer));