[
https://issues.apache.org/jira/browse/MINIFICPP-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531701#comment-16531701
]
ASF GitHub Bot commented on MINIFICPP-533:
------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/nifi-minifi-cpp/pull/358
> Integer comparison mismatch in ListenHTTP
> -----------------------------------------
>
> Key: MINIFICPP-533
> URL: https://issues.apache.org/jira/browse/MINIFICPP-533
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Andrew Christianson
> Assignee: Andrew Christianson
> Priority: Major
> Fix For: 0.6.0
>
>
> Fix the mismatched size types:
>
> {{In file included from
> /home/achristianson/workspace/nifi-minifi-cpp/extensions/civetweb/processors/ListenHTTP.cpp:21:0:}}
> {{/home/achristianson/workspace/nifi-minifi-cpp/extensions/civetweb/processors/ListenHTTP.h:
> In member function ‘virtual int64_t
> org::apache::nifi::minifi::processors::ListenHTTP::ResponseBodyReadCallback::process(std::shared_ptr<org::apache::nifi::minifi::io::BaseStream>)’:}}
> {{/home/achristianson/workspace/nifi-minifi-cpp/extensions/civetweb/processors/ListenHTTP.h:139:20:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]}}
> {{ if (num_read != stream->getSize()) {}}
> {{ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)