hunyadi-dev commented on a change in pull request #1040:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1040#discussion_r607752496
##########
File path: extensions/mqtt/processors/AbstractMQTTProcessor.cpp
##########
@@ -146,7 +148,7 @@ void AbstractMQTTProcessor::onSchedule(const
std::shared_ptr<core::ProcessContex
MQTTClient_create(&client_, uri_.c_str(), clientID_.c_str(),
MQTTCLIENT_PERSISTENCE_NONE, NULL);
}
if (client_) {
- MQTTClient_setCallbacks(client_, (void *) this, connectionLost,
msgReceived, msgDelivered);
+ MQTTClient_setCallbacks(client_, reinterpret_cast<void *> (this),
connectionLost, msgReceived, msgDelivered);
Review comment:
What was the linter error?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]