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

Daniel Atallah datallah at pidgin.im
Wed Jun 10 21:01:29 EDT 2015


Changeset: af9b5ba022dbc06dc1d944537dff8e0e8647c01c
Author:	 Daniel Atallah <datallah at pidgin.im>
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);
 	}



More information about the Commits mailing list