mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 06:01:57 +00:00
Fix build
This commit is contained in:
parent
781a27edb3
commit
32c2fb378f
@ -75,7 +75,7 @@ void NATSProducer::publishThreadFunc(void * arg)
|
||||
if (!pop_result)
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Could not pop payload");
|
||||
|
||||
status = natsConnection_Publish(producer->connection.getConnection(), producer->subject.c_str(), payload.c_str(), payload.size());
|
||||
status = natsConnection_Publish(producer->connection.getConnection(), producer->subject.c_str(), payload.c_str(), static_cast<int>(payload.size()));
|
||||
|
||||
if (status != NATS_OK)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user