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:
@@ -79,7 +79,7 @@ int dmatrix(struct zint_symbol *symbol, unsigned char source[])
|
||||
barcode[barcodelen] = 0; // null terminate anyway
|
||||
fclose(f);
|
||||
} else */
|
||||
barcodelen = strlen(source);
|
||||
barcodelen = ustrlen(source);
|
||||
if(barcodelen > 780) {
|
||||
strcpy(symbol->errtxt, "error: input too long");
|
||||
return ERROR_TOO_LONG;
|
||||
|
||||
Reference in New Issue
Block a user