mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-08 19:21:44 +00:00
Avoid warnings
This commit is contained in:
parent
7422f97e02
commit
c8471907a3
@ -37,7 +37,7 @@ mm_write_cache_io_c::setFilePointer(int64 offset,
|
||||
: seek_end == mode ? get_size() - offset
|
||||
: getFilePointer() + offset;
|
||||
|
||||
if (new_pos == getFilePointer())
|
||||
if (new_pos == static_cast<int64_t>(getFilePointer()))
|
||||
return;
|
||||
|
||||
flush_cache();
|
||||
|
@ -21,7 +21,7 @@
|
||||
class MTX_DLL_API mm_write_cache_io_c: public mm_proxy_io_c {
|
||||
protected:
|
||||
memory_cptr m_cache;
|
||||
int m_cache_pos;
|
||||
size_t m_cache_pos;
|
||||
|
||||
public:
|
||||
mm_write_cache_io_c(mm_io_c *p_out, int cache_size, bool p_delete_out = true);
|
||||
|
Loading…
Reference in New Issue
Block a user