mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-24 12:26:00 +00:00
win32: add "zint_dll_vc6" sub-directory with VC6 workspace for
creating "zint.dll" compatible with Windows XP (see ticket #339) win32: rename README and HOWTO files to uppercase and update "win32\README.txt" general: suppress some VC6 warnings README.bsd: update
This commit is contained in:
@@ -182,7 +182,7 @@ static int postnet_enc(struct zint_symbol *symbol, const unsigned char source[],
|
||||
/* Stop character */
|
||||
memcpy(d, "L", 2); /* Include terminating NUL */
|
||||
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, z_itoc(check_digit), NULL /*cat*/, 0)) {
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, (char) z_itoc(check_digit), NULL /*cat*/, 0)) {
|
||||
return ZINT_ERROR_MEMORY; /* `z_rt_cpy_cat()` only fails with OOM */
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ static int planet_enc(struct zint_symbol *symbol, const unsigned char source[],
|
||||
/* Stop character */
|
||||
memcpy(d, "L", 2); /* Include terminating NUL */
|
||||
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, z_itoc(check_digit), NULL /*cat*/, 0)) {
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, (char) z_itoc(check_digit), NULL /*cat*/, 0)) {
|
||||
return ZINT_ERROR_MEMORY; /* `z_rt_cpy_cat()` only fails with OOM */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user