diff options
Diffstat (limited to 'demuxer/Demuxers/BDDemuxer.cpp')
-rw-r--r-- | demuxer/Demuxers/BDDemuxer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demuxer/Demuxers/BDDemuxer.cpp b/demuxer/Demuxers/BDDemuxer.cpp index 4c5e30ee..d20fadea 100644 --- a/demuxer/Demuxers/BDDemuxer.cpp +++ b/demuxer/Demuxers/BDDemuxer.cpp @@ -54,7 +54,7 @@ int64_t CBDDemuxer::BDByteStreamSeek(void *opaque, int64_t offset, int whence) DbgLog((LOG_TRACE, 10, L"BD Seek to %I64d, achieved %I64d, correcting target by %I64d", pos, achieved, offset)); uint8_t *dump_buffer = (uint8_t *)CoTaskMemAlloc(6144); while (offset > 0) { - int to_read = min(offset, 6144); + int to_read = (int)min(offset, 6144); int did_read = bd_read(bd, dump_buffer, to_read); offset -= did_read; if (did_read < to_read) { |