szaszm commented on a change in pull request #1083:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1083#discussion_r643986747



##########
File path: libminifi/src/io/FileStream.cpp
##########
@@ -113,34 +113,33 @@ void FileStream::seek(size_t offset) {
     logging::LOG_ERROR(logger_) << SEEK_ERROR_MSG << SEEKP_CALL_ERROR_MSG;
 }
 
-int FileStream::write(const uint8_t *value, int size) {
-  gsl_Expects(size >= 0);
+size_t FileStream::write(const uint8_t *value, size_t size) {
   if (size == 0) {
     return 0;
   }
   if (!IsNullOrEmpty(value)) {

Review comment:
       done in 5c6ba7b




-- 
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:
us...@infra.apache.org


Reply via email to