sval: fix cast_rl() some more...
commita2e641c62361148532d59f5a4559b393996eb833
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 14:18:50 +0000 (8 17:18 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 14:18:50 +0000 (8 17:18 +0300)
treeb7548e4e9957d0a4591cf7dcde95650457b43b5e
parentbf1cb03f772834fd1179bf876cbf13872e8f296a
sval: fix cast_rl() some more...

There was a cut and paste bug when we tried to do a set_max it actually
set the min.

Also if we set the maximum, we should as well set the minimum to zero.

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