[ 
https://issues.apache.org/jira/browse/MINIFICPP-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Gerlits resolved MINIFICPP-1443.
---------------------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to