sval: math: fix how negate operations are handled
commita4920bdf530d89fdb5163b9548e490afb011d635
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Nov 2012 08:47:37 +0000 (14 11:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Nov 2012 08:47:37 +0000 (14 11:47 +0300)
tree7e90f6f7ab2ae10e12c13845c50d3545aa08f887
parent0dd7ebdd3b2d29867df1bf62ca0c7f0ebef3a2b5
sval: math: fix how negate operations are handled

The original code wasn't very good at all.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_math.c