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:
@@ -980,7 +980,8 @@ static int az_binary_string(const unsigned char source[], const int length, int
|
||||
const int entry_bp = bp;
|
||||
#endif
|
||||
|
||||
if (!az_state_list_init(list, length)) {
|
||||
assert(length < USHRT_MAX);
|
||||
if (!az_state_list_init(list, (unsigned short) length)) {
|
||||
return 0;
|
||||
}
|
||||
memset(list->states, 0, sizeof(struct az_state));
|
||||
|
||||
Reference in New Issue
Block a user