sval: type: use type_bits() through out.
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 16:32:33 +0000 (19:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 18:47:47 +0000 (21:47 +0300)
commitaf6b9dc9b1dad6ceea9cd80c3aa1092003c56434
tree4f67eeebd1d9e8556c314a19076ccbc321e9bb06
parentcd5dacc5539c10963b58b54c3fc2e724a3404142
sval: type: use type_bits() through out.

This changes things a little because sval_bits() used to assume an int
if the type wasn't specified but type_bits() returns zero.

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