mirror of
https://github.com/Evolution-X/external_piex
synced 2026-01-28 11:47:59 +00:00
Sync to github.com/google/piex at commit 0bce6433c1
This commit is contained in:
@@ -219,7 +219,7 @@ bool TiffDirectory::GetOffsetAndLength(const Tag tag, const Type type,
|
||||
return false;
|
||||
}
|
||||
*offset = directory_entry->offset;
|
||||
*length = directory_entry->value.size();
|
||||
*length = static_cast<std::uint32_t>(directory_entry->value.size());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ void FillGpsPreviewImageData(const TiffDirectory& gps_directory,
|
||||
return;
|
||||
}
|
||||
|
||||
constexpr size_t kGpsDateStampSize = 11;
|
||||
const size_t kGpsDateStampSize = 11;
|
||||
if (!gps_directory.Get(kGpsTagDateStamp,
|
||||
&preview_image_data->gps.date_stamp)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user