mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Fix -esc crash for windows
This commit is contained in:
parent
782a3a6f39
commit
7cb5eec35a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue