We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58e39a commit ab36622Copy full SHA for ab36622
src/extra.i
@@ -4113,7 +4113,7 @@ PyObject* ll_JM_color_count(fz_pixmap *pm, PyObject *clip)
4113
unsigned char* s = pm->samples + stride * (irect.y0 - pm->y) + n * (irect.x0 - pm->x);
4114
// Cache previous pixel.
4115
char oldpix[10];
4116
- assert(n < = size(oldpix));
+ assert(n <= sizeof(oldpix));
4117
memcpy(oldpix, s, n);
4118
long cnt = 0;
4119
for (size_t i = 0; i < height; i++)
0 commit comments