diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | 29aea837f59c17fad0dc6020a488124f3ea7d630 (patch) | |
tree | 94701c01ec03db1a096e4f457fa9601891321ca7 /src/core/os_admin.c | |
parent | 1e918b949ce6d96b7f294f659d907546e5d60e44 (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_admin.c')
-rw-r--r-- | src/core/os_admin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/os_admin.c b/src/core/os_admin.c index 4df67ccd7..b3da7dc67 100644 --- a/src/core/os_admin.c +++ b/src/core/os_admin.c @@ -197,7 +197,7 @@ int do_admin(User * u) || match_wild_nocase(nick, ((NickCore *) servadmins. list[i])->display)) - admin_list(i + 1, servadmins.list[i], u, &sent_header); + admin_list(i + 1, (NickCore *)servadmins.list[i], u, &sent_header); if (!sent_header) notice_lang(s_OperServ, u, OPER_ADMIN_NO_MATCH); @@ -230,7 +230,7 @@ int admin_list_callback(SList * slist, int number, void *item, User *u = va_arg(args, User *); int *sent_header = va_arg(args, int *); - return admin_list(number, item, u, sent_header); + return admin_list(number, (NickCore *)item, u, sent_header); } int admin_list(int number, NickCore * nc, User * u, int *sent_header) |