aboutsummaryrefslogtreecommitdiffstats
path: root/src/display.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-04 03:50:08 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-04 03:50:08 -0400
commit39622a7dd26c06feb52a369fba1acfbcef8ea809 (patch)
tree88f248034c2aed06590c6076159b15858fa689b1 /src/display.h
parente841e9a59cc9c7e46ea449b04627da0c959576a6 (diff)
downloadrunes-39622a7dd26c06feb52a369fba1acfbcef8ea809.tar.gz
runes-39622a7dd26c06feb52a369fba1acfbcef8ea809.zip
bitfields are required to be declared as ints
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display.h b/src/display.h
index b3fa0ee..83fd57a 100644
--- a/src/display.h
+++ b/src/display.h
@@ -20,9 +20,9 @@ struct runes_display {
struct vt100_loc selection_start;
struct vt100_loc selection_end;
- char unfocused: 1;
- char has_selection: 1;
- char dirty: 1;
+ unsigned int unfocused: 1;
+ unsigned int has_selection: 1;
+ unsigned int dirty: 1;
};
RunesDisplay *runes_display_new(char *font_name);