From 3abaf506a6279125d45cfbd64f09f5bc6d9342b0 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 9 Nov 2011 15:40:38 -0500 Subject: [PATCH] MetaWindowActor: Use guint for bitfields A 1-bit boolean (int) bitfield has the values 0 and -1. Use guint instead for bitfield values. https://bugzilla.gnome.org/show_bug.cgi?id=685463 --- src/compositor/compositor-private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h index 125ffbfc7..0926601c4 100644 --- a/src/compositor/compositor-private.h +++ b/src/compositor/compositor-private.h @@ -25,9 +25,9 @@ struct _MetaCompositor MetaPlugin *modal_plugin; - gboolean show_redraw : 1; - gboolean debug : 1; - gboolean no_mipmaps : 1; + guint show_redraw : 1; + guint debug : 1; + guint no_mipmaps : 1; }; struct _MetaCompScreen