1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-06 03:27:30 +00:00

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;