The current file position cannot be correctly represented in a long int type. The value is either greater than or equal to 4GB-1, or greater than or equal to 2GB-1 when in the middle of a DBCS string.
If possible, use the large files version of the ftello(). function.
JrEdcGposEoverflow02