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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user