sval: db: cast parameters to the correct type before saving them in the db
commit100f783855ec43f3ad58eb3cd1e21e988f828fb7
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Nov 2012 09:23:20 +0000 (15 12:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Nov 2012 09:23:20 +0000 (15 12:23 +0300)
tree6c5fecfc228ab7ce3f2f41f1a0aaa5717342dc5a
parentaa2aa4f42b2d314c0d4aeecf3255714af91a6b24
sval: db: cast parameters to the correct type before saving them in the db

Say we are passing a long to a function that takes an int parameter.  We
should do the casting in the caller.  The value is saved in the database
and used later.

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