diff options
Diffstat (limited to 'raster')
-rw-r--r-- | raster/pixmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raster/pixmap.c b/raster/pixmap.c index 0e614428..b0a65704 100644 --- a/raster/pixmap.c +++ b/raster/pixmap.c @@ -62,7 +62,7 @@ fz_clearpixmap(fz_pixmap *pix) void fz_gammapixmap(fz_pixmap *pix, float gamma) { - unsigned char table[255]; + unsigned char table[256]; int n = pix->w * pix->h * pix->n; unsigned char *p = pix->samples; int i; |