Okteta currently does not support large (>2GB) files, but should. This patch, using 64 bit types to refer to file memory locations and line indices, is a necessary and unavoidable step towards this goal.
[I'm not yet certain on the best remaining strategy towards >2GB; my local version of Okteta can load/modify/save large files, as I've replaced QByteArray with a LargeByteArray class with a matching API; but there are still display issues since the scroll area uses 32 bit position coordinates.)