Suppress some pedantic warnings, props codemonkey82 (#204)

This commit is contained in:
gitlost 2021-09-12 23:37:44 +01:00
parent f84f82d9a2
commit 9229634826
4 changed files with 12 additions and 6 deletions

View file

@ -94,7 +94,7 @@ INTERNAL int tif_pixel_plot(struct zint_symbol *symbol, unsigned char *pixelbuf)
int samples_per_pixel;
int pixels_per_sample;
unsigned char map[128];
tiff_color_t color_map[256] = {0};
tiff_color_t color_map[256] = {{0}};
unsigned char palette[32][5];
int color_map_size = 0;
int extra_samples = 0;