diff --git a/ChangeLog b/ChangeLog index 978721f5a..afec50aa0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-03 Matt Krai + + * src/core/delete.c (io_from_ping_dialog): fix type of "len" variable + (refs #526049) 2008-05-02 Thomas Thurman All information should live in exactly one place. This means diff --git a/src/core/delete.c b/src/core/delete.c index 787843618..8e65f3d70 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -237,7 +237,7 @@ io_from_ping_dialog (GIOChannel *channel, if (condition & G_IO_IN) { char *str; - unsigned int len; + gsize len; GError *err; /* Go ahead and block for all data from child */ @@ -256,7 +256,7 @@ io_from_ping_dialog (GIOChannel *channel, } meta_topic (META_DEBUG_PING, - "Read %d bytes strlen %d \"%s\" from child\n", + "Read %" G_GSIZE_FORMAT " bytes strlen %d \"%s\" from child\n", len, str ? (int) strlen (str) : 0, str ? str : "NULL"); if (len > 0)