Skip to content

Commit

Permalink
Fix a truncation warning in SetIccProfileFromNclx
Browse files Browse the repository at this point in the history
  • Loading branch information
0xC0000054 committed Nov 4, 2022
1 parent 7308a5f commit 2cdb582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/ColorProfileGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ void SetIccProfileFromNclx(FormatRecord* formatRecord, const heif_color_profile_
heif_matrix_coefficients matrixCoefficients = heif_matrix_coefficients_ITU_R_BT_601_6;
bool fullRange = true;
// Default to the Rec. 709 white point values, D65.
float whitepointX = 0.3127;
float whitepointY = 0.3290;
cmsFloat64Number whitepointX = 0.3127;
cmsFloat64Number whitepointY = 0.3290;

if (nclx != nullptr)
{
Expand Down

0 comments on commit 2cdb582

Please sign in to comment.