mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-12-13 16:50:58 +03:00
Zint has been pached for MSVC2010
This commit is contained in:
3
3rdparty/zint-2.4.4/backend/gridmtx.c
vendored
3
3rdparty/zint-2.4.4/backend/gridmtx.c
vendored
@@ -920,6 +920,7 @@ int grid_matrix(struct zint_symbol *symbol, unsigned char source[], int length)
|
||||
#else
|
||||
int* utfdata = (int *)_alloca((length + 1) * sizeof(int));
|
||||
int* gbdata = (int *)_alloca((length + 1) * sizeof(int));
|
||||
char* grid;
|
||||
#endif
|
||||
|
||||
for(i = 0; i < 1460; i++) {
|
||||
@@ -1041,7 +1042,7 @@ int grid_matrix(struct zint_symbol *symbol, unsigned char source[], int length)
|
||||
#ifndef _MSC_VER
|
||||
char grid[size * size];
|
||||
#else
|
||||
char* grid = (char *)_alloca((size * size) * sizeof(char));
|
||||
grid = (char *)_alloca((size * size) * sizeof(char));
|
||||
#endif
|
||||
|
||||
for(x = 0; x < size; x++) {
|
||||
|
||||
Reference in New Issue
Block a user