fix type of "len" variable (refs #526049)

2008-05-03  Matt Krai  <mkraai@beckman.com>

        * src/core/delete.c (io_from_ping_dialog): fix type of "len" variable
          (refs #526049)

svn path=/trunk/; revision=3703
This commit is contained in:
Matt Krai 2008-05-03 17:12:15 +00:00 committed by Thomas James Alexander Thurman
parent b455ac62d2
commit 3673472cd7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-05-03 Matt Krai <mkraai@beckman.com>
* src/core/delete.c (io_from_ping_dialog): fix type of "len" variable
(refs #526049)
2008-05-02 Thomas Thurman <tthurman@gnome.org> 2008-05-02 Thomas Thurman <tthurman@gnome.org>
All information should live in exactly one place. This means All information should live in exactly one place. This means

View File

@ -237,7 +237,7 @@ io_from_ping_dialog (GIOChannel *channel,
if (condition & G_IO_IN) if (condition & G_IO_IN)
{ {
char *str; char *str;
unsigned int len; gsize len;
GError *err; GError *err;
/* Go ahead and block for all data from child */ /* Go ahead and block for all data from child */
@ -256,7 +256,7 @@ io_from_ping_dialog (GIOChannel *channel,
} }
meta_topic (META_DEBUG_PING, 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"); len, str ? (int) strlen (str) : 0, str ? str : "NULL");
if (len > 0) if (len > 0)