summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channel_mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index c50fda8..49e0a64 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -101,7 +101,7 @@ check_string(char *s)
*/
int
-add_id(struct Client *client_p, struct Channel *chptr, char *banid, int type)
+add_id(struct Client *client_p, struct Channel *chptr, char *banid, unsigned int type)
{
dlink_list *list = NULL;
dlink_node *ban = NULL;
@@ -210,7 +210,7 @@ add_id(struct Client *client_p, struct Channel *chptr, char *banid, int type)
* side effects -
*/
static int
-del_id(struct Channel *chptr, char *banid, int type)
+del_id(struct Channel *chptr, char *banid, unsigned int type)
{
dlink_list *list;
dlink_node *ban;