mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 23:05:23 -04:00
CODE128: suppress cppcheck out-of-bounds warning; plus others (#233)
This commit is contained in:
parent
3e995c70fb
commit
f03da2f4ba
12 changed files with 49 additions and 47 deletions
backend
|
@ -380,7 +380,7 @@ INTERNAL int pharmazentral(struct zint_symbol *symbol, unsigned char source[], i
|
|||
check_digit = count % 11;
|
||||
|
||||
if (symbol->debug & ZINT_DEBUG_PRINT) {
|
||||
printf("PZN: %s, check digit %d\n", localstr, check_digit);
|
||||
printf("PZN: %s, check digit %d\n", localstr, (int) check_digit);
|
||||
}
|
||||
|
||||
if (check_digit == 10) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue