diff options
author | Leo Uino <leo@norisys.jp> | 2012-12-24 21:47:33 +0900 |
---|---|---|
committer | Leo Uino <leo@norisys.jp> | 2012-12-24 21:47:33 +0900 |
commit | 96433dc8cbc6242adc11f78590068f37f88cfc30 (patch) | |
tree | c0ee70eb6a68a45e00cbe66bba4b4c93c51b75c4 /lpg/libqr/code-parse.c | |
parent | 5d4815f09b8c0caf4e152bf737036eef22aaa399 (diff) | |
download | pdf-simple-sign-96433dc8cbc6242adc11f78590068f37f88cfc30.tar.gz pdf-simple-sign-96433dc8cbc6242adc11f78590068f37f88cfc30.tar.xz pdf-simple-sign-96433dc8cbc6242adc11f78590068f37f88cfc30.zip |
Fixes thanks to Roland Illig
Diffstat (limited to 'lpg/libqr/code-parse.c')
-rw-r--r-- | lpg/libqr/code-parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lpg/libqr/code-parse.c b/lpg/libqr/code-parse.c index 3fca4b2..a84df72 100644 --- a/lpg/libqr/code-parse.c +++ b/lpg/libqr/code-parse.c @@ -216,10 +216,10 @@ int qr_code_parse(const void * buffer, struct qr_code code; enum qr_ec_level ec; int mask; - struct qr_bitstream * data_bits; + struct qr_bitstream * data_bits = NULL; int status; - fprintf(stderr, "parsing code bitmap %lux%lu\n", line_bits, line_count); + fprintf(stderr, "parsing code bitmap %lux%lu\n", (unsigned long) line_bits, (unsigned long) line_count); if (line_bits != line_count || line_bits < 21 |