]>
Commit | Line | Data |
---|---|---|
e6af0131 JR |
1 | --- barcode-0.98/plessey.c~ 2000-11-07 17:43:18.000000000 +0000 |
2 | +++ barcode-0.98/plessey.c 2015-04-05 20:20:57.170658797 +0000 | |
3 | @@ -148,7 +148,7 @@ | |
4 | checkptr[i+j] ^= check[j]; | |
5 | } | |
6 | for (i = 0; i < 8; i++) { | |
7 | - sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); | |
8 | + sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]); | |
9 | ptr += 2; | |
10 | } | |
11 | fprintf(stderr, "CRC: "); |