metacity r3703 - in trunk: . src/core



Author: tthurman
Date: Sat May  3 17:12:15 2008
New Revision: 3703
URL: http://svn.gnome.org/viewvc/metacity?rev=3703&view=rev

Log:
2008-05-03  Matt Krai  <mkraai beckman com>

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


Modified:
   trunk/ChangeLog
   trunk/src/core/delete.c

Modified: trunk/src/core/delete.c
==============================================================================
--- trunk/src/core/delete.c	(original)
+++ trunk/src/core/delete.c	Sat May  3 17:12:15 2008
@@ -237,7 +237,7 @@
   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 @@
         }
 
       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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]