From 3800c07a320d76eb35f06103af4da01ab176dc2e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 13 Mar 2002 03:23:38 +0000 Subject: [PATCH] bit fields should be unsigned type always (unsigned int dirty:1). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2602 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/statusbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-text/statusbar.h b/src/fe-text/statusbar.h index 2e411fd2..148fd02e 100644 --- a/src/fe-text/statusbar.h +++ b/src/fe-text/statusbar.h @@ -50,7 +50,7 @@ typedef struct { char *color; /* background color */ int real_ypos; /* real Y-position in screen at the moment */ - int dirty:1; + unsigned int dirty:1; int dirty_xpos; /* -1 = only redraw some items, >= 0 = redraw all items after from xpos */ } STATUSBAR_REC; @@ -74,7 +74,7 @@ struct SBAR_ITEM_REC { int xpos, size; int current_size; /* item size currently in screen */ - int dirty:1; + unsigned int dirty:1; }; extern GSList *statusbar_groups;