Hi,
Issue found by Coverity Scan.
CID 210500 (#1 of 1): Incorrect sizeof expression (BAD_SIZEOF)
bad_sizeof: Taking the size of parameter list is suspicious because although it 
is declared as an array, it is actually a pointer. Sizeof will return the size 
of a pointer, which may not be intended.

file: iup_scintilladlg.c
function: getListIndex
line: 1872
int i, count = sizeof(list);

Best.
Ranier.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to