diff options
author | Leo Uino <leo@norisys.jp> | 2011-07-19 12:04:15 +0900 |
---|---|---|
committer | Leo Uino <leo@norisys.jp> | 2011-07-19 12:04:15 +0900 |
commit | d4abb878df167875bb66d1e0debe853cb6b88b1b (patch) | |
tree | 206e5638d866382b66737058593bf483b7e92c06 /lpg/libqr/code-layout.c | |
parent | a3234f7d7e36ad7d1bad6a85b868b05addf40e9b (diff) | |
download | pdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.tar.gz pdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.tar.xz pdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.zip |
Fix some types
Diffstat (limited to 'lpg/libqr/code-layout.c')
-rw-r--r-- | lpg/libqr/code-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lpg/libqr/code-layout.c b/lpg/libqr/code-layout.c index 8b4522d..fe8caa7 100644 --- a/lpg/libqr/code-layout.c +++ b/lpg/libqr/code-layout.c @@ -21,11 +21,11 @@ struct qr_iterator { void qr_layout_init_mask(struct qr_code * code) { - int x, y; - int dim = qr_code_width(code); + size_t x, y; + size_t dim = qr_code_width(code); struct qr_bitmap * bmp = code->modules; const int * am_pos = QR_ALIGNMENT_LOCATION[code->version - 1]; - int am_side; + size_t am_side; if (!bmp->mask) qr_bitmap_add_mask(bmp); |