/pidgin/main: af9b5ba022db: Use G_GSIZE_FORMAT instead of G_GOFF...

Daniel Atallah <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: af9b5ba022dbc06dc1d944537dff8e0e8647c01c
Author:	 Daniel Atallah <[email protected]>
Date:	 2015-06-10 20:59 -0400
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/af9b5ba022db

Description:

Use G_GSIZE_FORMAT instead of G_GOFFSET_FORMAT - the latter is wrong for the datatype
(it also requires a too-new glib version)

diffstat:

 libpurple/ft.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/ft.c b/libpurple/ft.c
--- a/libpurple/ft.c
+++ b/libpurple/ft.c
@@ -1123,7 +1123,7 @@ purple_xfer_write_file(PurpleXfer *xfer,
 
 	if (fs_known && size > purple_xfer_get_bytes_remaining(xfer)) {
 		purple_debug_warning("xfer",
-			"Got too much data (truncating at %" G_GOFFSET_FORMAT
+			"Got too much data (truncating at %" G_GSIZE_FORMAT
 			").\n", purple_xfer_get_size(xfer));
 		size = purple_xfer_get_bytes_remaining(xfer);
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.