[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:57:24 CDT 2011
branch "master" has been updated
via 7de50530f9f20b1c8f03850bf20547348a87ed1c (commit)
from 51d54a8fd4d47898d9781183b449abf567bdc2ff (commit)
Summary of changes:
libebml/src/EbmlMaster.cpp | 2 +-
libebml/src/EbmlUInteger.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7de50530f9f20b1c8f03850bf20547348a87ed1c
Author: Brent Eagles <beagles at digium.com>
Date: Wed Aug 10 18:27:06 2011 -0230
And still more..
diff --git a/libebml/src/EbmlMaster.cpp b/libebml/src/EbmlMaster.cpp
index 6111685..d3c57d2 100644
--- a/libebml/src/EbmlMaster.cpp
+++ b/libebml/src/EbmlMaster.cpp
@@ -111,7 +111,7 @@ filepos_t EbmlMaster::RenderData(IOCallback & output, bool bForceRender, bool bW
}
Checksum.FillCRC32(TmpBuf.GetDataBuffer(), static_cast<uint32>(TmpBuf.GetDataBufferSize()));
Result += Checksum.Render(output, true, false ,bForceRender);
- output.writeFully(TmpBuf.GetDataBuffer(), TmpBuf.GetDataBufferSize());
+ output.writeFully(TmpBuf.GetDataBuffer(), static_cast<size_t>(TmpBuf.GetDataBufferSize()));
Result += TmpBuf.GetDataBufferSize();
}
diff --git a/libebml/src/EbmlUInteger.cpp b/libebml/src/EbmlUInteger.cpp
index acb3636..730cdab 100644
--- a/libebml/src/EbmlUInteger.cpp
+++ b/libebml/src/EbmlUInteger.cpp
@@ -88,7 +88,7 @@ filepos_t EbmlUInteger::RenderData(IOCallback & output, bool, bool)
uint64 TempValue = Value;
for (unsigned int i=0; i<GetSize();i++) {
- FinalData[GetSize()-i-1] = TempValue & 0xFF;
+ FinalData[GetSize()-i-1] = static_cast<binary>(TempValue & 0xFF);
TempValue >>= 8;
}
-----------------------------------------------------------------------
--
asterisk-scf/release/matroska.git
More information about the asterisk-scf-commits
mailing list