diff options
author | Matt Krai <mkraai@beckman.com> | 2008-05-03 17:12:15 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-05-03 17:12:15 +0000 |
commit | 3673472cd74eae5ff110d00978488f8c76de69de (patch) | |
tree | 60ecfaf2886a4eed5662bca402a667f56fa9e2ef | |
parent | b455ac62d2b6d48cea9122058a8c54cb1ec77ddb (diff) | |
download | metacity-3673472cd74eae5ff110d00978488f8c76de69de.tar.gz |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/core/delete.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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> All information should live in exactly one place. This means diff --git a/src/core/delete.c b/src/core/delete.c index 78784361..8e65f3d7 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) |