From be19be61b7c7b10a14b3105e0ff48398080b9463 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 23 Sep 2002 19:20:48 +0000 Subject: Use 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov) Mon Sep 23 14:58:04 2002 Owen Taylor * gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]: Use 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov) * gtk/gtktextlayout.h gtk/gtktextbtree.[ch]: Fix some 'gint' bitfields that should have been unsigned. --- gtk/gtktextbtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtktextbtree.c') diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 7f270e19a8..42194fbc2d 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -100,7 +100,7 @@ struct _NodeData { /* Height and width of this node */ gint height; - gint width : 24; + signed int width : 24; /* boolean indicating whether the lines below this node are in need of validation. * However, width/height should always represent the current total width and @@ -108,7 +108,7 @@ struct _NodeData { * width/height on the lines needs recomputing, not whether the totals * need recomputing. */ - gint valid : 8; + guint valid : 8; /* Actually a boolean */ }; -- cgit v1.2.1