On Mon, 23 Feb 2015 15:10:00 +0100 Pawel Wodkowski <pawelx.wodkowski at intel.com> wrote:
> Declaration of fgets() is > char *fgets(char *str, int size, FILE *stream); > > Klocwork complain about passing "sizeof()" as size parameter since > implicit casting size_t to int might cause loss of precision. > > Signed-off-by: Pawel Wodkowski <pawelx.wodkowski at intel.com> NAK this is shooting at Unicorns. The tool is the problem not the code.