mirror of
https://git.code.sf.net/p/zint/code
synced 2026-06-10 07:33:43 +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:
+1
-1
@@ -57,7 +57,7 @@ ZINT_FORMAT_PRINTF(2, 3) static int gs1_err_msg_printf_nochk(char err_msg[50], c
|
||||
int size;
|
||||
va_start(ap, fmt);
|
||||
|
||||
#ifdef ZINT_IS_C89
|
||||
#ifdef Z_NO_VSNPRINTF
|
||||
size = vsprintf(err_msg, fmt, ap);
|
||||
#else
|
||||
size = vsnprintf(err_msg, 50, fmt, ap);
|
||||
|
||||
Reference in New Issue
Block a user