Update os.h

pull/926/head
Adi Lester 7 years ago committed by GitHub
parent 26d7c27bee
commit 247c4e55e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -210,7 +210,7 @@ inline size_t filesize(FILE *f)
#if defined(_WIN32) && !defined(__CYGWIN__)
int fd = _fileno(f);
#if _WIN64 // 64 bits
long long ret = _filelengthi64(fd);
__int64 ret = _filelengthi64(fd);
if (ret >= 0)
{
return static_cast<size_t>(ret);

Loading…
Cancel
Save