aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/bitmap.h
diff options
context:
space:
mode:
authorLeo Uino <leo@norisys.jp>2011-07-19 12:04:15 +0900
committerLeo Uino <leo@norisys.jp>2011-07-19 12:04:15 +0900
commitd4abb878df167875bb66d1e0debe853cb6b88b1b (patch)
tree206e5638d866382b66737058593bf483b7e92c06 /lpg/libqr/qr/bitmap.h
parenta3234f7d7e36ad7d1bad6a85b868b05addf40e9b (diff)
downloadpdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.tar.gz
pdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.tar.xz
pdf-simple-sign-d4abb878df167875bb66d1e0debe853cb6b88b1b.zip
Fix some types
Diffstat (limited to 'lpg/libqr/qr/bitmap.h')
-rw-r--r--lpg/libqr/qr/bitmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lpg/libqr/qr/bitmap.h b/lpg/libqr/qr/bitmap.h
index 36c56b3..d4af471 100644
--- a/lpg/libqr/qr/bitmap.h
+++ b/lpg/libqr/qr/bitmap.h
@@ -8,7 +8,7 @@ struct qr_bitmap {
size_t width, height;
};
-struct qr_bitmap * qr_bitmap_create(int width, int height, int masked);
+struct qr_bitmap * qr_bitmap_create(size_t width, size_t height, int masked);
void qr_bitmap_destroy(struct qr_bitmap *);
int qr_bitmap_add_mask(struct qr_bitmap *);
@@ -19,9 +19,9 @@ void qr_bitmap_merge(struct qr_bitmap * dest, const struct qr_bitmap * src);
void qr_bitmap_render(const struct qr_bitmap * bmp,
void * buffer,
- size_t mod_bits,
+ int mod_bits,
size_t line_stride,
- size_t line_repeat,
+ int line_repeat,
unsigned long mark,
unsigned long space);