mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
CODE128: suppress cppcheck out-of-bounds warning; plus others (#233)
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user