mkvparser: Fix implicit conversion warnings.
Fix warnings exposed by addition of compiler flag -Wshorten-64-to-32. Change-Id: I9adcfa97babbda1a5d94fe06ec84eab69eb8d842
This commit is contained in:
parent
0e9767e29a
commit
ef464c2a95
@ -1465,7 +1465,7 @@ long Segment::Load() {
|
||||
return E_FILE_FORMAT_INVALID;
|
||||
|
||||
for (;;) {
|
||||
const int status = LoadCluster();
|
||||
const long status = LoadCluster();
|
||||
|
||||
if (status < 0) // error
|
||||
return status;
|
||||
@ -7797,7 +7797,7 @@ long Block::Parse(const Cluster* pCluster) {
|
||||
if (pos > stop)
|
||||
return E_FILE_FORMAT_INVALID;
|
||||
|
||||
const int exp = 7 * len - 1;
|
||||
const long exp = 7 * len - 1;
|
||||
const long long bias = (1LL << exp) - 1LL;
|
||||
const long long delta_size = delta_size_ - bias;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user