Ferenc Gerlits created MINIFICPP-1443:
-----------------------------------------
Summary: Get rid of most "possible loss of data" warnings
Key: MINIFICPP-1443
URL: https://issues.apache.org/jira/browse/MINIFICPP-1443
Project: Apache NiFi MiNiFi C++
Issue Type: Improvement
Reporter: Ferenc Gerlits
Assignee: Ferenc Gerlits
We often convert/assign from larger to smaller types, eg. from size_t to int.
This can lead to difficult-to-track-down bugs.
Visual Studio gives helpful warnings about this, eg. "warning C4267: '=':
conversion from 'size_t' to 'int', possible loss of data". Try to eliminate
all, or almost all, of these.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)