sval: fix cast_rl() for handling single values
commitcead445916e47297073cd8802bae0305975068bd
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 08:54:59 +0000 (8 11:54 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 08:54:59 +0000 (8 11:54 +0300)
tree38ffac7b859a7f7fb25c267f4ab42a03243d3f2e
parent74110aa404df790c39b44685db1eb9ca33fd97da
sval: fix cast_rl() for handling single values

If it's a single value then we don't need to worry about truncating or
casting the signed bit, the results is just the casted value.

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