Merge pull request #11 from larsyencken/master

Fix a bug in quantize() causing crashes.
This commit is contained in:
Alex Clark ☺ 2012-09-07 18:56:55 -07:00
commit 7e7e1ab926

View File

@ -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++) {