ranges: use a hack around so when merging ranges of different types
commit79818f5281e550ad126997d7ee0559a68446ff5e
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Jan 2017 19:30:54 +0000 (10 22:30 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 Jan 2017 19:30:54 +0000 (10 22:30 +0300)
tree847c933a0afeed5dac2cd348d243393d5f4b2f18
parente1d77fef64547ffde8271713adf9a243cb8109e4
ranges: use a hack around so when merging ranges of different types

It's not beautiful and it's probably not the correct thing but there are
some times when we end up merging range lists from two types together.
In that case just cast them to the larger type.

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