mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix -esc crash for windows
This commit is contained in:
parent
782a3a6f39
commit
7cb5eec35a
@ -800,7 +800,7 @@ int escape_char_process(struct zint_symbol *symbol, unsigned char *input_string,
|
||||
#ifndef _MSC_VER
|
||||
unsigned char escaped_string[*length + 1];
|
||||
#else
|
||||
unsigned char* escaped_string = (unsigned char*) _alloca(length + 1);
|
||||
unsigned char* escaped_string = (unsigned char*) _alloca(*length + 1);
|
||||
#endif
|
||||
|
||||
in_posn = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user