mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-14 18:13:53 +00:00
common: move FM_NO_VSNPRINTF (filemem) -> Z_NO_VSNPRINTF & use
AZTEC: suppress MSVC warning C4761: integral size mismatch in arg
This commit is contained in:
@@ -960,7 +960,7 @@ INTERNAL void z_hrt_printf_nochk(struct zint_symbol *symbol, const char *fmt, ..
|
||||
|
||||
va_start(ap, fmt);
|
||||
|
||||
#ifdef ZINT_IS_C89
|
||||
#ifdef Z_NO_VSNPRINTF
|
||||
size = vsprintf((char *) symbol->text, fmt, ap);
|
||||
#else
|
||||
size = vsnprintf((char *) symbol->text, sizeof(symbol->text), fmt, ap);
|
||||
|
||||
Reference in New Issue
Block a user