exp: fix issues around int vs size_t
authorJens Axboe <axboe@fb.com>
Tue, 7 Oct 2014 15:09:57 +0000 (09:09 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 7 Oct 2014 15:09:57 +0000 (09:09 -0600)
commit3fcc6ca7f15db70b9f82df1f9065765b4cca4e9d
treef3d4d47cf0b00c44138596d16256663bc6f2ad53
parentd3955c8e166a8b057cb96c0203c9fd8c6698e167
exp: fix issues around int vs size_t

This seems to be the easiest way - just wrap the call in a
macro that always passes a size_t, then it doesn't matter what
yy_n_chars is typed as (int or size_t).

Signed-off-by: Jens Axboe <axboe@fb.com>
exp/expression-parser.l