Richard Henderson <richard.hender...@linaro.org> writes:
> We build with _FILE_OFFSET_BITS=64, so off_t = off64_t = uint64_t. > With an extra cast, this fixes emulation of mmap2, which could > overflow the computation of the full value of offset. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée Virtualisation Tech Lead @ Linaro