Language: C
Label: safe
CWE: CWE-1077 \u2014 Floating Point Comparison with Incorrect Operator
The code performs a comparison such as an
        equality test between two float (floating point) values, but
        it uses comparison operators that do not account for the
        possibility of loss of precision.

Code:
static s16 swf_get_s16(SWFReader *read)
{
	return (s16) gf_bs_read_u16_le(read->bs);
}