[vlc-devel] [PATCH 10/20] mkv: stream_io_callback.cpp c-style casts => c++ casts
Filip Roséen
filip at videolabs.io
Fri Mar 4 17:04:08 CET 2016
---
modules/demux/mkv/stream_io_callback.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/stream_io_callback.cpp b/modules/demux/mkv/stream_io_callback.cpp
index 4f2306b..b08105c 100644
--- a/modules/demux/mkv/stream_io_callback.cpp
+++ b/modules/demux/mkv/stream_io_callback.cpp
@@ -104,6 +104,6 @@ uint64 vlc_stream_io_callback::toRead( void )
if( i_size <= 0 )
return UINT64_MAX;
- return (uint64) i_size - stream_Tell( s );
+ return static_cast<uint64>( i_size - stream_Tell( s ) );
}
--
2.7.2
More information about the vlc-devel
mailing list