math: fix a type issue with pointer subtractions
commit8619ffb61d64d7e3e3377e9c1dd8403c416bb5ae
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Feb 2019 13:23:52 +0000 (26 16:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Feb 2019 13:23:52 +0000 (26 16:23 +0300)
treece588493880ebf2130d06bb4b61bafcf82cd804b
parent5f090b33797c66d020534b715061635c9ece2587
math: fix a type issue with pointer subtractions

We have to pass the pointer alignment all the way down to sval_binop()
but then the result is not a pointer type it's a ssize_t type.

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