diff options
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r-- | src/modules/hs_request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index e249561ef..c2b9d77bf 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -342,7 +342,7 @@ class HSListBase : public Command char buf[BUFSIZE]; int counter = 1; int from = 0, to = 0; - int display_counter = 0; + unsigned display_counter = 0; HostCore *current; current = hs_request_head; @@ -772,7 +772,7 @@ class HSRequest : public Module } }; -void my_memo_lang(User *u, const char *name, int z, int number, ...) +void my_memo_lang(User *u, char *name, int z, int number, ...) { va_list va; char buffer[4096], outbuf[4096]; @@ -835,7 +835,7 @@ void req_send_memos(User *u, char *vIdent, char *vHost) for (it = svsopers_in_config.begin(); it != svsopers_in_config.end(); ++it) { std::string nick = it->first; - my_memo_lang(u, nick.c_str(), z, LNG_REQUEST_MEMO, host); + my_memo_lang(u, const_cast<char *>(nick.c_str()), z, LNG_REQUEST_MEMO, host); } } if (HSRequestMemoSetters == 1) |