1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-10-29 14:22:32 +00:00

QRCODE: qr_evaluate: float sufficient for Test 4 percentage calc;

add const to func def; augment ZINTLOG stuff; add direct tests
common.c: fix vsnprintf guard ZINT_IS_C89 -> Z_NO_VSNPRINTF
GRIDMATRIX: fix arg conversion warning (MSVC)
This commit is contained in:
gitlost
2026-10-21 07:07:07 +01:00
parent f5fd98106d
commit c20bd251f0
5 changed files with 300 additions and 14 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ static int gm_encode(const unsigned int ddata[], const int length, char binary[]
if (punt == 13) {
glyph = 15;
} else {
glyph = z_posn(gm_numeral_nondigits, punt) * 3;
glyph = z_posn(gm_numeral_nondigits, (const char) punt) * 3;
}
glyph += nondigit_posn;
glyph += 1000;