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/bitmap.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/bitmap.c')
-rw-r--r-- | lpg/libqr/bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lpg/libqr/bitmap.c b/lpg/libqr/bitmap.c index 759aeca..b9d3763 100644 --- a/lpg/libqr/bitmap.c +++ b/lpg/libqr/bitmap.c @@ -5,7 +5,7 @@ #include <qr/bitmap.h> -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) { struct qr_bitmap * out; size_t size; @@ -169,9 +169,9 @@ static void render_line_2(unsigned char * out, 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) { |