Remove valgrind errors

This commit is contained in:
hooper114 2008-10-06 16:27:48 +00:00
parent 3e68f49f35
commit bd9765bfd1
4 changed files with 26 additions and 20 deletions

View file

@ -131,10 +131,10 @@ int cc_a(struct zint_symbol *symbol, unsigned char source[], int cc_width)
bitlen = ustrlen(source);
for(i = bitlen; i < 197; i++) {
for(i = bitlen; i < 208; i++) {
source[i] = '0';
}
source[197] = '\0';
source[208] = '\0';
for(segment = 0; segment < 13; segment++) {
strpos = segment * 16;