From 1fd6f8faf6d1be323a4cecac0ebfffab31c9d692 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 23 Nov 2000 22:57:59 +0000 Subject: more changes from int xx:1 to unsigned int xx:1 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/bot/botnet.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/irc/bot/botnet.h') diff --git a/src/irc/bot/botnet.h b/src/irc/bot/botnet.h index e8b436d5..46489099 100644 --- a/src/irc/bot/botnet.h +++ b/src/irc/bot/botnet.h @@ -11,7 +11,7 @@ typedef struct _botnet_rec BOTNET_REC; typedef struct { char *name; GSList *nicks; /* NICK_RECs */ - int chanop:1; + unsigned int chanop:1; GSList *banlist; GSList *ebanlist; @@ -35,11 +35,11 @@ typedef struct { BOTNET_REC *botnet; void *link; /* NULL, BOT_UPLINK_REC or BOT_DOWNLINK_REC */ - int uplink:1; /* this is our uplink */ - int pass_ok:1; /* downlink's password was ok */ - int connected:1; /* bot is in this botnet now */ - int disconnect:1; /* just disconnecting this bot.. */ - int master:1; /* this bot is the bot network's current master */ + unsigned int uplink:1; /* this is our uplink */ + unsigned int pass_ok:1; /* downlink's password was ok */ + unsigned int connected:1; /* bot is in this botnet now */ + unsigned int disconnect:1; /* just disconnecting this bot.. */ + unsigned int master:1; /* this bot is the bot network's current master */ char *nick; /* bot's unique nick in botnet */ int priority; @@ -71,9 +71,9 @@ typedef struct { } BOT_DOWNLINK_REC; struct _botnet_rec { - int connected:1; - int autoconnect:1; - int reconnect:1; + unsigned int connected:1; + unsigned int autoconnect:1; + unsigned int reconnect:1; char *name; /* botnet name */ char *nick; /* our nick in botnet */ -- cgit v1.2.3