change to const char*

This commit is contained in:
cryptonote-social 2020-12-25 13:46:20 -08:00
parent 5e9ccf42a3
commit 9689c11682

View File

@ -197,7 +197,7 @@ next_chat_response next_chat() {
// only success is returned. Message might not be sent immediately, e.g. miner may wait to send it
// with the next mined share.
int send_chat(char *message) {
SendChat(message);
SendChat(const_cast<char*>(message));
return 0;
}