summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channel.c2
-rw-r--r--src/conf.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/channel.c b/src/channel.c
index d7f524b..5661958 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -544,7 +544,7 @@ del_invite(struct Channel *chptr, struct Client *who)
* (like in get_client_name)
*/
const char *
-get_member_status(const struct Membership *ms, int combine)
+get_member_status(const struct Membership *ms, const int combine)
{
static char buffer[4];
char *p = buffer;
diff --git a/src/conf.c b/src/conf.c
index 2704e52..6f2a05e 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1796,7 +1796,6 @@ valid_wild_card_simple(const char *data)
int
valid_wild_card(struct Client *source_p, int warn, int count, ...)
{
- char *p;
char tmpch;
int nonwild = 0;
va_list args;
@@ -1817,7 +1816,7 @@ valid_wild_card(struct Client *source_p, int warn, int count, ...)
while (count--)
{
- p = va_arg(args, char *);
+ const char *p = va_arg(args, const char *);
if (p == NULL)
continue;