[vlc-commits] mkv: stream_io_callback.cpp c-style casts => c++ casts

Filip Roséen git at videolan.org
Sat Mar 5 22:14:46 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Fri Mar  4 17:04:08 2016 +0100| [d55cd9921fd16e612eaa20d614650bf96b4dfd38] | committer: Jean-Baptiste Kempf

mkv: stream_io_callback.cpp c-style casts => c++ casts

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d55cd9921fd16e612eaa20d614650bf96b4dfd38
---

 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 ) );
 }
 



More information about the vlc-commits mailing list