Change height and row_height array to floats: VC6, CodeQL fixes

This commit is contained in:
gitlost 2021-06-20 00:05:45 +01:00
parent c693482aa1
commit e5115bad07
8 changed files with 15 additions and 17 deletions

View file

@ -1243,7 +1243,7 @@ int ZBarcode_Encode(struct zint_symbol *symbol, const unsigned char *source, int
if (error_number == 0) {
error_number = warn_number;
}
(void)error_tag(symbol->errtxt, error_number);
(void) error_tag(symbol->errtxt, error_number);
if (error_number < ZINT_ERROR) {
if (symbol->height < 0.5f) { /* Absolute minimum */