ranges: fix type issue in remove_range()
commit156739a636d2e390258b8382f949dd2b25100515
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 11 Jun 2016 09:57:24 +0000 (11 12:57 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Sat, 11 Jun 2016 09:57:24 +0000 (11 12:57 +0300)
tree4e3be3e6e6204f3eeb632f28bd2401953805a1d8
parent75d1420d681628eb1783fa29d339e36146ea2dad
ranges: fix type issue in remove_range()

Say we remove a range, then first cast removed range to the same type as
the range we are removing from.

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