RagePhoto.c: fix off_t type in ragephoto_loadfile
This commit is contained in:
parent
c8c2f65b3a
commit
caf885d91c
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ bool ragephoto_loadfile(ragephoto_t instance_t, const char *filename)
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
const long long fileSize = _ftelli64(file);
|
const long long fileSize = _ftelli64(file);
|
||||||
#elif (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L)
|
#elif (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L)
|
||||||
const _off_t fileSize = ftello(file);
|
const off_t fileSize = ftello(file);
|
||||||
#else
|
#else
|
||||||
const long fileSize = ftell(file);
|
const long fileSize = ftell(file);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue