"gboolean foo : 1" results in TRUE being -1 once assigned, use "guint foo
authorMichael Natterer <mitch@gimp.org>
Wed, 29 Aug 2001 23:11:17 +0000 (23:11 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 29 Aug 2001 23:11:17 +0000 (23:11 +0000)
2001-08-30  Michael Natterer  <mitch@gimp.org>

* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
results in TRUE being -1 once assigned, use "guint foo : 1"
instead.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/giochannel.h

index a734770..0a6143a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index a734770..0a6143a 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-30  Michael Natterer  <mitch@gimp.org>
+
+       * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
+       results in TRUE being -1 once assigned, use "guint foo : 1"
+       instead.
+
 2001-08-27  Darin Adler  <darin@bentspoon.com>
 
        * glib/gconvert.h:
index 9abd511..3a89852 100644 (file)
@@ -120,12 +120,12 @@ struct _GIOChannel
 
   /* Group the flags together, immediately after partial_write_buf, to save memory */
 
-  gboolean use_buffer : 1;     /* The encoding uses the buffers */
-  gboolean do_encode : 1;      /* The encoding uses the GIConv coverters */
-  gboolean close_on_unref : 1; /* Close the channel on final unref */
-  gboolean is_readable : 1;    /* Cached GIOFlag */
-  gboolean is_writeable : 1;   /* ditto */
-  gboolean is_seekable : 1;    /* ditto */
+  guint use_buffer     : 1;    /* The encoding uses the buffers */
+  guint do_encode      : 1;    /* The encoding uses the GIConv coverters */
+  guint close_on_unref : 1;    /* Close the channel on final unref */
+  guint is_readable    : 1;    /* Cached GIOFlag */
+  guint is_writeable   : 1;    /* ditto */
+  guint is_seekable    : 1;    /* ditto */
 };
 
 typedef gboolean (*GIOFunc) (GIOChannel   *source,