mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 06:45:28 -04:00
#209 rss.c, composite.c; DBAR_EXP encodation methods; symbol NO_PNG out.gif
This commit is contained in:
parent
2b85585e69
commit
bee5f08f50
24 changed files with 1309 additions and 1257 deletions
|
@ -286,7 +286,7 @@ static void test_hrt(int index, int debug) {
|
|||
testFinish();
|
||||
}
|
||||
|
||||
extern int gs1_verify(struct zint_symbol *symbol, const unsigned char source[], const size_t src_len, char reduced[]);
|
||||
#include "../gs1.h"
|
||||
|
||||
static void test_gs1_verify(int index) {
|
||||
|
||||
|
@ -801,7 +801,7 @@ static void test_gs1_verify(int index) {
|
|||
|
||||
int length = strlen(data[i].data);
|
||||
|
||||
ret = gs1_verify(symbol, (unsigned char *) data[i].data, length, reduced);
|
||||
ret = gs1_verify(symbol, (unsigned char *) data[i].data, length, (unsigned char *) reduced);
|
||||
assert_equal(ret, data[i].ret, "i:%d ret %d != %d (length %d \"%s\") %s\n", i, ret, data[i].ret, length, data[i].data, symbol->errtxt);
|
||||
|
||||
if (ret == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue