mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
Make compile with MS-VC6
This commit is contained in:
@@ -1404,7 +1404,8 @@ int code_one(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
unsigned int data[1500], ecc[600];
|
||||
unsigned int sub_data[190], sub_ecc[75];
|
||||
unsigned int stream[2100];
|
||||
int data_length;
|
||||
int data_length;
|
||||
int data_blocks;
|
||||
|
||||
for (i = 0; i < 1500; i++) {
|
||||
data[i] = 0;
|
||||
@@ -1444,7 +1445,7 @@ int code_one(struct zint_symbol *symbol, unsigned char source[], int length) {
|
||||
sub_ecc[i] = 0;
|
||||
}
|
||||
|
||||
int data_blocks = c1_blocks[size - 1];
|
||||
data_blocks = c1_blocks[size - 1];
|
||||
|
||||
rs_init_gf(0x12d);
|
||||
rs_init_code(c1_ecc_blocks[size - 1], 0);
|
||||
|
||||
Reference in New Issue
Block a user