diff options
Diffstat (limited to 'util/xchatd.c')
-rw-r--r-- | util/xchatd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/xchatd.c b/util/xchatd.c index 8e2373b5..d50e822d 100644 --- a/util/xchatd.c +++ b/util/xchatd.c @@ -294,7 +294,7 @@ static int valid_chatid(register char *id) { static int -str_equal(unsigned char *s1, unsigned char *s2) +str_equal(const char *s1, const char *s2) { return strcasecmp(s1, s2)==0; } @@ -312,7 +312,7 @@ str_equal(unsigned char *s1, unsigned char *s2) static int -str_match(unsigned char *s1, unsigned char *s2) +str_match(const char *s1, const char *s2) { register int c1, c2; @@ -1491,7 +1491,7 @@ login_user(ChatUser *cu, char *msg) char *userid; char *chatid; struct sockaddr_in from; - int fromlen; + unsigned int fromlen; struct hostent *hp; |