On 27 October 2013 23:36, Cyd Haselton wrote: > Android apparently doesn't support implicit conversion so had to do a > cast before the argument is passed. N.B. it's not "Android" that doesn't support conversion from long long* to long*, it's C++. As I said, the question is why Android's stat::st_size field is not of type off_t in the first place.