summaryrefslogtreecommitdiff
path: root/src/core/server-rec.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 21:40:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 21:40:07 +0000
commit8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8 (patch)
tree52324a388e270f22cef46fb5a5fcdcc1c3d71ac8 /src/core/server-rec.h
parent8fb2249f0742cd391796b2a07c6611a696f7681a (diff)
downloadirssi-8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8.zip
several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/server-rec.h')
-rw-r--r--src/core/server-rec.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/server-rec.h b/src/core/server-rec.h
index c2c24ce3..58742e70 100644
--- a/src/core/server-rec.h
+++ b/src/core/server-rec.h
@@ -10,8 +10,8 @@ time_t real_connect_time; /* time when server replied that we really are connect
char *tag; /* tag name for addressing server */
char *nick; /* current nick */
-int connected:1; /* connected to server */
-int connection_lost:1; /* Connection lost unintentionally */
+unsigned int connected:1; /* connected to server */
+unsigned int connection_lost:1; /* Connection lost unintentionally */
void *handle; /* NET_SENDBUF_REC socket */
int readtag; /* input tag */
@@ -33,9 +33,9 @@ GHashTable *module_data;
char *version; /* server version */
char *away_reason;
char *last_invite; /* channel where you were last invited */
-int server_operator:1;
-int usermode_away:1;
-int banned:1; /* not allowed to connect to this server */
+unsigned int server_operator:1;
+unsigned int usermode_away:1;
+unsigned int banned:1; /* not allowed to connect to this server */
time_t lag_sent; /* 0 or time when last lag query was sent to server */
time_t lag_last_check; /* last time we checked lag */