mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 15:10:30 +00:00
anquan_0617
Signed-off-by: yangziyong <nsyangziyong@huawei.com> Change-Id: Ieab2c1f404bc829820eb920b3f021494374f0643
This commit is contained in:
parent
22a8880bfa
commit
41ecd773e7
@ -484,7 +484,7 @@ void WaterFlowPattern::OnSectionChangedNow(int32_t start)
|
||||
CHECK_NULL_VOID(host);
|
||||
int32_t childUpdateIdx = host->GetChildrenUpdated();
|
||||
if (sections_->IsSpecialUpdateCAPI(childUpdateIdx)) {
|
||||
start += sections_->GetSectionInfo().size();
|
||||
start += static_cast<int32_t>(sections_->GetSectionInfo().size());
|
||||
}
|
||||
info->InitSegments(sections_->GetSectionInfo(), start);
|
||||
info->margins_.clear();
|
||||
|
@ -301,7 +301,7 @@ void ImageFileCache::ConvertToAstcAndWriteToFile(const std::string& fileCacheKey
|
||||
removeVector.push_back(filePath);
|
||||
|
||||
auto infoIter = fileNameToFileInfoPos_[fileCacheKey];
|
||||
cacheFileSize_ = cacheFileSize_ + packedSize - infoIter->fileSize;
|
||||
cacheFileSize_ = cacheFileSize_ + static_cast<size_t>(packedSize) - infoIter->fileSize;
|
||||
infoIter->fileName = astcFileName;
|
||||
infoIter->fileSize = static_cast<uint64_t>(packedSize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user