mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
filemem: fix fwrite() return check in fm_write();
test `ferror()` also in `fm_err()` if `err` zero and file NetBSD: add instructions and some workarounds (`getopt_long_only()` in particular) qzint: check `__GNUC__` version for "-Wstringop-truncation" suppression
This commit is contained in:
@@ -123,7 +123,7 @@ static void test_colour_get_rgb(const testCtx *const p_ctx) {
|
||||
unsigned char red = 0, green = 0, blue = 0, alpha = 0, rgb_alpha = 0;
|
||||
int cyan, magenta, yellow, black;
|
||||
int have_alpha;
|
||||
char rgb[9];
|
||||
char rgb[16];
|
||||
char cmyk[16];
|
||||
|
||||
if (testContinue(p_ctx, i)) continue;
|
||||
@@ -181,7 +181,7 @@ static void test_colour_get_cmyk(const testCtx *const p_ctx) {
|
||||
for (i = 0; i < data_size; i++) {
|
||||
int cyan, magenta, yellow, black;
|
||||
unsigned char red, green, blue, alpha, rgb_alpha;
|
||||
char rgb[9];
|
||||
char rgb[16];
|
||||
|
||||
if (testContinue(p_ctx, i)) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user