mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
Make compile with MS-VC6
This commit is contained in:
parent
bfb183e5df
commit
f83e5b1501
22 changed files with 98 additions and 64 deletions
|
@ -841,6 +841,7 @@ static void gm_add_ecc(const char binary[], const size_t data_posn, const int la
|
|||
/* Split the data into blocks */
|
||||
wp = 0;
|
||||
for (i = 0; i < (b1 + b2); i++) {
|
||||
int data_size;
|
||||
if (i < b1) {
|
||||
block_size = n1;
|
||||
} else {
|
||||
|
@ -851,7 +852,7 @@ static void gm_add_ecc(const char binary[], const size_t data_posn, const int la
|
|||
} else {
|
||||
ecc_size = e2;
|
||||
}
|
||||
int data_size = block_size - ecc_size;
|
||||
data_size = block_size - ecc_size;
|
||||
|
||||
/* printf("block %d/%d: data %d / ecc %d\n", i + 1, (b1 + b2), data_size, ecc_size);*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue