aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/code-layout.c')
-rw-r--r--lpg/libqr/code-layout.c6
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);