mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-10-26 05:57:11 +03:00
use C cast
This commit is contained in:
parent
9689c11682
commit
7c5fe3abac
@ -196,8 +196,8 @@ next_chat_response next_chat() {
|
||||
// Queue a chat message for sending. Returns a code indicating if successful (0) or not. Right now
|
||||
// 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(const_cast<char*>(message));
|
||||
int send_chat(const char *message) {
|
||||
SendChat((char*)message);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user