mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 20:41:23 -05:00
make bitfields unsigned
This commit is contained in:
parent
a5441f62b9
commit
3e9b7dd873
@ -23,7 +23,7 @@ IndentCaseLabels: false
|
||||
IndentWidth: 8
|
||||
IndentWrappedFunctionNames: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
Language: Cpp
|
||||
# Language: Cpp
|
||||
Cpp11BracedListStyle: false
|
||||
MaxEmptyLinesToKeep: 1
|
||||
PointerAlignment: Right
|
||||
|
@ -25,7 +25,7 @@ typedef struct {
|
||||
int cmd_queue_speed;
|
||||
int max_query_chans;
|
||||
int starttls;
|
||||
int no_cap : 1;
|
||||
unsigned int no_cap : 1;
|
||||
} IRC_SERVER_SETUP_REC;
|
||||
|
||||
void irc_servers_setup_init(void);
|
||||
|
@ -62,9 +62,9 @@ struct _IRC_SERVER_CONNECT_REC {
|
||||
int max_query_chans;
|
||||
|
||||
int max_kicks, max_msgs, max_modes, max_whois;
|
||||
int disallow_starttls:1;
|
||||
int starttls:1;
|
||||
int no_cap:1;
|
||||
unsigned int disallow_starttls:1;
|
||||
unsigned int starttls:1;
|
||||
unsigned int no_cap:1;
|
||||
};
|
||||
/* clang-format on */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user