1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-18 10:27:09 +00:00

Reduced warnings about signedness

This commit is contained in:
hooper114
2008-09-30 15:05:53 +00:00
parent 020843b430
commit 5b10d056c2
26 changed files with 358 additions and 344 deletions

View File

@@ -121,7 +121,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[])
int input_length;
errornum = 0;
input_length = strlen(source);
input_length = ustrlen(source);
if(input_length > 157) {
strcpy(symbol->errtxt, "error: input too long");
@@ -391,7 +391,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[])
read += 2;
break;
}
} while (read < strlen(source));
} while (read < ustrlen(source));
pads_needed = 5 - ((bar_characters + 2) % 5);