!2597 fix codecheck 20240925

Merge pull request !2597 from 何光耀/fix_codecheck_20240925
This commit is contained in:
openharmony_ci 2024-09-26 01:03:41 +00:00 committed by Gitee
commit b1ed115235
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ uint32_t AbstractExifMetadataAccessor::GetFilterArea(const std::vector<std::stri
return E_NO_EXIF_TAG;
}
for (auto& range : ranges) {
range.first += GetTiffOffset();
range.first += static_cast<uint32_t>(GetTiffOffset());
}
return SUCCESS;
}

View File

@ -399,7 +399,7 @@ uint32_t PngExifMetadataAccessor::GetFilterArea(const std::vector<std::string> &
return E_NO_EXIF_TAG;
}
for (auto& range : ranges) {
range.first += GetTiffOffset();
range.first += static_cast<uint32_t>(GetTiffOffset());
}
return SUCCESS;
}