mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-22 12:27:03 +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:
@@ -140,7 +140,7 @@ INTERNAL int zint_telepen(struct zint_symbol *symbol, unsigned char source[], in
|
||||
|
||||
z_hrt_cpy_iso8859_1(symbol, source, length);
|
||||
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, check_digit, NULL /*cat*/, 0)) {
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length, (char) check_digit, NULL /*cat*/, 0)) {
|
||||
return ZINT_ERROR_MEMORY; /* `z_rt_cpy_cat()` only fails with OOM */
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@ INTERNAL int zint_telepen_num(struct zint_symbol *symbol, unsigned char source[]
|
||||
|
||||
z_hrt_cpy_nochk(symbol, local_source, length);
|
||||
|
||||
if (raw_text && z_rt_cpy_cat(symbol, local_source, length, check_digit, NULL /*cat*/, 0)) {
|
||||
if (raw_text && z_rt_cpy_cat(symbol, local_source, length, (char) check_digit, NULL /*cat*/, 0)) {
|
||||
return ZINT_ERROR_MEMORY; /* `z_rt_cpy_cat()` only fails with OOM */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user