mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
Avoid type definition outside of blocks to be VC6 compatible.
This commit is contained in:
parent
7d6050bd3b
commit
0d7ee10ef5
3 changed files with 14 additions and 7 deletions
|
@ -1299,7 +1299,7 @@ int aztec(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||
break;
|
||||
case 10:
|
||||
for (i = 0; i < data_blocks; i++) {
|
||||
for(int p = 0; p < 10; p++) {
|
||||
for(p = 0; p < 10; p++) {
|
||||
if (adjusted_string[i * codeword_size + p] == '1') {
|
||||
data_part[i] += (0x200 >> p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue