You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2020/12/16 20:20:00 UTC
[jira] [Created] (MINIFICPP-1443) Get rid of most "possible loss of
data" warnings
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)