mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +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
|
// 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
|
// only success is returned. Message might not be sent immediately, e.g. miner may wait to send it
|
||||||
// with the next mined share.
|
// with the next mined share.
|
||||||
int send_chat(char *message) {
|
int send_chat(const char *message) {
|
||||||
SendChat(const_cast<char*>(message));
|
SendChat((char*)message);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user