@@ -405,11 +405,12 @@ #endif /* FIXME: Maybe use another exception? */ @throw [OFOpenFileFailedException exceptionWithPath: path mode: @"r"]; - return s.st_size; + /* On Android, off_t is 32 bit, but st_size is long long there */ + return (off_t)s.st_size; } + (OFDate*)modificationDateOfFileAtPath: (OFString*)path { if (path == nil)