diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-11-13 18:25:55 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-11-13 18:25:55 +0000 |
commit | e8e3907e55e2767653b392a7a784a7013e131597 (patch) | |
tree | d2aee221f1fc703af120f3b04d5114a6bbfc7e13 | |
parent | ca502eb842135685fa008aa8939bfa6387df67f8 (diff) |
- src/send.c: fixed several compile warnings with -Wsign-conversion
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2544 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | include/send.h | 8 | ||||
-rw-r--r-- | src/send.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/send.h b/include/send.h index 3e34b6f..1610cf8 100644 --- a/include/send.h +++ b/include/send.h @@ -65,11 +65,11 @@ extern void sendto_channel_butone(struct Client *, struct Client *, const char *, ...) AFP(5,6); extern void sendto_common_channels_local(struct Client *, int, unsigned int, const char *, ...) AFP(4,5); -extern void sendto_channel_local(int, int, struct Channel *, +extern void sendto_channel_local(unsigned int, int, struct Channel *, const char *, ...) AFP(4,5); -extern void sendto_channel_local_butone(struct Client *, int, unsigned int, struct Channel *, +extern void sendto_channel_local_butone(struct Client *, unsigned int, unsigned int, struct Channel *, const char *, ...) AFP(5,6); -extern void sendto_channel_remote(struct Client *, struct Client *, int, +extern void sendto_channel_remote(struct Client *, struct Client *, unsigned int, const unsigned int, const unsigned int, struct Channel *, const char *, ...) AFP(7,8); extern void sendto_server(struct Client *, @@ -77,7 +77,7 @@ extern void sendto_server(struct Client *, const unsigned int, const char *, ...) AFP(4,5); extern void sendto_match_butone(struct Client *, struct Client *, char *, int, const char *, ...) AFP(5,6); -extern void sendto_match_servs(struct Client *, const char *, int, +extern void sendto_match_servs(struct Client *, const char *, unsigned int, const char *, ...) AFP(4,5); extern void sendto_realops_flags(unsigned int, int, int, const char *, ...) AFP(4,5); @@ -546,7 +546,7 @@ sendto_common_channels_local(struct Client *user, int touser, unsigned int cap, * locally connected to this server. */ void -sendto_channel_local(int type, int nodeaf, struct Channel *chptr, +sendto_channel_local(unsigned int type, int nodeaf, struct Channel *chptr, const char *pattern, ...) { va_list args; @@ -589,7 +589,7 @@ sendto_channel_local(int type, int nodeaf, struct Channel *chptr, * WARNING - +D clients are omitted */ void -sendto_channel_local_butone(struct Client *one, int type, unsigned int cap, +sendto_channel_local_butone(struct Client *one, unsigned int type, unsigned int cap, struct Channel *chptr, const char *pattern, ...) { va_list args; @@ -634,7 +634,7 @@ sendto_channel_local_butone(struct Client *one, int type, unsigned int cap, * remote to this server. */ void -sendto_channel_remote(struct Client *one, struct Client *from, int type, +sendto_channel_remote(struct Client *one, struct Client *from, unsigned int type, const unsigned int caps, const unsigned int nocaps, struct Channel *chptr, const char *pattern, ...) { @@ -784,7 +784,7 @@ sendto_match_butone(struct Client *one, struct Client *from, char *mask, * side effects - data sent to servers matching with capab */ void -sendto_match_servs(struct Client *source_p, const char *mask, int cap, +sendto_match_servs(struct Client *source_p, const char *mask, unsigned int cap, const char *pattern, ...) { va_list args; |