function_hooks: consider the return type of the function call
commitc31d0c1d57ae002783928025e14625be3715e137
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Nov 2012 11:47:26 +0000 (21 14:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Nov 2012 11:47:26 +0000 (21 14:47 +0300)
treee6a46dee7b8063fc8bf704e05a0baf3b1786e72b
parent8350dc27c94ca592d5107c5491e68efcc520c7d9
function_hooks: consider the return type of the function call

If a function returns short then set the state to s16min-s16max even though
we are assigning it to an int.

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