1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-21 11:57:04 +00:00

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 */