mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 08:14:10 +03:00
Merge pull request #11 from larsyencken/master
Fix a bug in quantize() causing crashes.
This commit is contained in:
commit
7e7e1ab926
|
@ -914,7 +914,7 @@ map_image_pixels_from_median_box(
|
|||
unsigned long bestdist,bestmatch,dist;
|
||||
unsigned long initialdist;
|
||||
HashTable h2;
|
||||
int pixelVal;
|
||||
unsigned long pixelVal;
|
||||
|
||||
h2=hashtable_new(unshifted_pixel_hash,unshifted_pixel_cmp);
|
||||
for (i=0;i<nPixels;i++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user