mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 06:45:28 -04:00
tif.c: allow strip_count 1 & specially handle; #191 clang-tidy warning
This commit is contained in:
parent
4391fb6a1d
commit
4b049f7154
8 changed files with 178 additions and 16 deletions
|
@ -81,6 +81,7 @@ static void test_pixel_plot(int index, int debug) {
|
|||
|
||||
symbol->bitmap_width = data[i].width;
|
||||
symbol->bitmap_height = data[i].height;
|
||||
symbol->debug |= debug;
|
||||
|
||||
int size = data[i].width * data[i].height;
|
||||
assert_nonzero(size < (int) sizeof(data_buf), "i:%d gif_pixel_plot size %d < sizeof(data_buf) %d\n", i, size, (int) sizeof(data_buf));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue