mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Fix a couple of Windows 2Gig file size issues.
Patch submitted by Janne Hyvärinen <cse@sci.fi>.
This commit is contained in:
@@ -295,7 +295,7 @@ static size_t chain_write_cb_(const void *ptr, size_t size, size_t nmemb, ::FLAC
|
||||
|
||||
static int chain_seek_cb_(::FLAC__IOHandle handle, FLAC__int64 offset, int whence)
|
||||
{
|
||||
off_t o = (off_t)offset;
|
||||
FLAC__off_t o = (FLAC__off_t)offset;
|
||||
FLAC__ASSERT(offset == o);
|
||||
return fseeko((FILE*)handle, o, whence);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user