Make ref_count a gint to avoid compiler warnings. (#321977, Andrew
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 Dec 2006 04:05:32 +0000 (04:05 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 16 Dec 2006 04:05:32 +0000 (04:05 +0000)
2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/giochannel.h: Make ref_count a gint to avoid
        compiler warnings.  (#321977, Andrew Paprocki)

ChangeLog
glib/giochannel.h

index 982ad06..7bc4c88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-12-15  Matthias Clasen  <mclasen@redhat.com>
 
+       * glib/giochannel.h: Make ref_count a gint to avoid
+       compiler warnings.  (#321977, Andrew Paprocki)
+
        * configure.in: On Solaris, set CFLAGS and LDFLAGS that
        work both with Sun cc and gcc.  (#315061, Lazlo Peter)
 
index aa812be..846c9ba 100644 (file)
@@ -104,7 +104,7 @@ typedef enum
 struct _GIOChannel
 {
   /*< private >*/
-  guint ref_count;
+  gint ref_count;
   GIOFuncs *funcs;
 
   gchar *encoding;