Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Mar 26, 2022
1 parent e6ea587 commit 8192e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/quantum.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ MagickExport MagickBooleanType SetQuantumDepth(const Image *image,
else
quantum_info->depth=16;
}
quantum=(quantum_info->pad+8+6)*((quantum_info->depth+7)/8);
quantum=(quantum_info->pad+6)*((quantum_info->depth+7)/8)*sizeof(double);
extent=MagickMax(image->columns,image->rows)*quantum;
if ((MagickMax(image->columns,image->rows) != 0) &&
(quantum != (extent/MagickMax(image->columns,image->rows))))
Expand Down

0 comments on commit 8192e98

Please sign in to comment.