[asterisk-scf-commits] asterisk-scf/release/matroska.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Aug 10 15:02:41 CDT 2011


branch "master" has been updated
       via  4a9e42777dbeace56608c148beb49bace8a76c84 (commit)
      from  90cf921561954910694d89424306cec5eca1dba8 (commit)

Summary of changes:
 libebml/ebml/EbmlId.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 4a9e42777dbeace56608c148beb49bace8a76c84
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Aug 10 17:31:51 2011 -0230

    Adding an explicit cast for casting to a "smaller" type.

diff --git a/libebml/ebml/EbmlId.h b/libebml/ebml/EbmlId.h
index 4e9ee44..2e4a95a 100644
--- a/libebml/ebml/EbmlId.h
+++ b/libebml/ebml/EbmlId.h
@@ -80,7 +80,7 @@ class EBML_DLL_API EbmlId {
 		inline void Fill(binary * Buffer) const {
 			unsigned int i;
 			for (i = 0; i<Length; i++) {
-				Buffer[i] = (Value >> (8*(Length-i-1))) & 0xFF;
+				Buffer[i] = static_cast<binary>((Value >> (8*(Length-i-1))) & 0xFF);
 			}
 		}
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/matroska.git



More information about the asterisk-scf-commits mailing list