adamdebreceni commented on a change in pull request #1028:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1028#discussion_r601535334
##########
File path: libminifi/test/BufferReader.h
##########
@@ -44,7 +44,7 @@ class BufferReader : public
org::apache::nifi::minifi::InputStreamCallback {
}
int64_t process(const
std::shared_ptr<org::apache::nifi::minifi::io::BaseStream>& stream) {
- return write(*stream.get(), stream->size());
+ return static_cast<int64_t>(write(*stream.get(), stream->size()));
Review comment:
why not `gsl::narrow`?
--
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]