mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-21 20:07:06 +00:00
Fix -esc crash for windows
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user