summaryrefslogtreecommitdiff
path: root/src/core/os_oper.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commit29aea837f59c17fad0dc6020a488124f3ea7d630 (patch)
tree94701c01ec03db1a096e4f457fa9601891321ca7 /src/core/os_oper.c
parent1e918b949ce6d96b7f294f659d907546e5d60e44 (diff)
Various strict fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1185 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/os_oper.c')
-rw-r--r--src/core/os_oper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_oper.c b/src/core/os_oper.c
index a0ab70919..aac6e14b2 100644
--- a/src/core/os_oper.c
+++ b/src/core/os_oper.c
@@ -198,7 +198,7 @@ int do_oper(User * u)
|| match_wild_nocase(nick,
((NickCore *) servopers.list[i])->
display))
- oper_list(i + 1, servopers.list[i], u, &sent_header);
+ oper_list(i + 1, (NickCore *)servopers.list[i], u, &sent_header);
if (!sent_header)
notice_lang(s_OperServ, u, OPER_OPER_NO_MATCH);
@@ -248,5 +248,5 @@ int oper_list_callback(SList * slist, int number, void *item, va_list args)
User *u = va_arg(args, User *);
int *sent_header = va_arg(args, int *);
- return oper_list(number, item, u, sent_header);
+ return oper_list(number, (NickCore *)item, u, sent_header);
}