You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrew Christianson (JIRA)" <ji...@apache.org> on 2018/06/11 09:16:00 UTC

[jira] [Created] (MINIFICPP-533) Integer comparison mismatch in ListenHTTP

Andrew Christianson created MINIFICPP-533:
---------------------------------------------

             Summary: 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


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)