1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-08 12:32:01 +00:00

Suppress gcc-15 warning -Wunterminated-string-initialization

ci: macOS: try GS1 Syntax Engine agin
This commit is contained in:
gitlost
2025-09-12 22:49:28 +01:00
parent 7bccfc4915
commit 008dff4aec
4 changed files with 7 additions and 4 deletions

View File

@@ -614,7 +614,7 @@ static int isbnx(struct zint_symbol *symbol, unsigned char source[], const int l
/* Check if GTIN-13 `source` is UPC-E compatible and convert as UPC-E into `out` if so */
static int ean_is_upce(const unsigned char source[], unsigned char *out) {
static const char zeroes[5] = "00000";
static const char zeroes[5] = { '0', '0', '0', '0', '0' };
if (source[0] != '0' || source[1] > '1') {
return 0;