mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
#2527 Fix narrowing conversion.
This commit is contained in:
parent
661dc515ab
commit
f4cdc527b0
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static const char *kJsonRPC = "/json_rpc";
|
||||||
|
|
||||||
static constexpr size_t kBlobReserveSize = 8;
|
static constexpr size_t kBlobReserveSize = 8;
|
||||||
|
|
||||||
static const char kZMQGreeting[64] = { -1, 0, 0, 0, 0, 0, 0, 0, 0, 127, 3, 0, 'N', 'U', 'L', 'L' };
|
static const char kZMQGreeting[64] = { static_cast<char>(-1), 0, 0, 0, 0, 0, 0, 0, 0, 127, 3, 0, 'N', 'U', 'L', 'L' };
|
||||||
static constexpr size_t kZMQGreetingSize1 = 11;
|
static constexpr size_t kZMQGreetingSize1 = 11;
|
||||||
|
|
||||||
static const char kZMQHandshake[] = "\4\x19\5READY\xbSocket-Type\0\0\0\3SUB";
|
static const char kZMQHandshake[] = "\4\x19\5READY\xbSocket-Type\0\0\0\3SUB";
|
||||||
|
|
Loading…
Reference in a new issue