buf_size: ignore casts in get_array_size_bytes()
commit417cfd3bf09b3c4da4b882699e18423a969e0e73
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jun 2012 10:48:21 +0000 (13 13:48 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jun 2012 10:48:21 +0000 (13 13:48 +0300)
tree21b85ab7a45e99205f9d88849dbd2d474bc4a65e
parent6af5bd66759f4b02b5d9d25ac2ba720754bac1f7
buf_size: ignore casts in get_array_size_bytes()

The get_array_size() function removes the cast.  It's perhaps not the right
thing to do in that function.  But in get_array_size_bytes() we don't
care about casts so we can call strip_expr() without any problem.

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