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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user