summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-13 03:23:38 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-13 03:23:38 +0000
commit3800c07a320d76eb35f06103af4da01ab176dc2e (patch)
tree099c9148a141b9a7ae6d669fd31dfdfeed69b413
parentc72649695371a92ae89162d2540d08274b1bc60d (diff)
downloadirssi-3800c07a320d76eb35f06103af4da01ab176dc2e.zip
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
-rw-r--r--src/fe-text/statusbar.h4
1 files 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;