fixes from compiling code and running all the tests on NT

This commit is contained in:
Josh Coalson
2002-06-11 06:15:28 +00:00
parent a6a773b3ae
commit d57c8d31e3
12 changed files with 88 additions and 54 deletions

View File

@@ -820,7 +820,7 @@ static FLAC__SeekableStreamDecoderSeekStatus seekable_stream_decoder_seek_callba
if(dcd->error_occurred)
return FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_ERROR;
if(fseek(dcd->file, absolute_byte_offset, SEEK_SET) < 0) {
if(fseek(dcd->file, (long)absolute_byte_offset, SEEK_SET) < 0) {
dcd->error_occurred = true;
return FLAC__SEEKABLE_STREAM_DECODER_SEEK_STATUS_ERROR;
}