Avoid type definition outside of blocks to be VC6 compatible.

This commit is contained in:
Harald Oehlmann 2016-02-24 08:42:15 +01:00
parent 7d6050bd3b
commit 0d7ee10ef5
3 changed files with 14 additions and 7 deletions

View file

@ -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);
}