diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-09-23 19:20:48 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-09-23 19:20:48 +0000 |
commit | be19be61b7c7b10a14b3105e0ff48398080b9463 (patch) | |
tree | b028f48c78bb7c7a48094118bafcbbf202bd2b20 /gtk/gtktextbtree.c | |
parent | d4fe39c3f880b58f1e41ed25491116a891718eab (diff) | |
download | gtk+-be19be61b7c7b10a14b3105e0ff48398080b9463.tar.gz |
Use 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov)
Mon Sep 23 14:58:04 2002 Owen Taylor <otaylor@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r-- | gtk/gtktextbtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ }; |