1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-06 03:27:30 +00:00

CODE39/PLESSEY/POSTNET/PLANET/TELEPEN: suppress MSVC6 warning C4761

(`hrt_cat_chr_nochk(`))
This commit is contained in:
gitlost
2025-02-24 18:12:12 +00:00
parent d9aebc1c72
commit f747de3684
4 changed files with 14 additions and 11 deletions

View File

@@ -184,7 +184,7 @@ static int postnet_enc(struct zint_symbol *symbol, const unsigned char source[],
if (raw_text) {
hrt_cpy_nochk(symbol, source, length);
hrt_cat_chr_nochk(symbol, check_digit + '0');
hrt_cat_chr_nochk(symbol, (char) itoc(check_digit));
}
return error_number;
@@ -258,7 +258,7 @@ static int planet_enc(struct zint_symbol *symbol, const unsigned char source[],
if (raw_text) {
hrt_cpy_nochk(symbol, source, length);
hrt_cat_chr_nochk(symbol, check_digit + '0');
hrt_cat_chr_nochk(symbol, (char) itoc(check_digit));
}
return error_number;