aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/data-create.c
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/data-create.c
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/data-create.c')
-rw-r--r--lpg/libqr/data-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpg/libqr/data-create.c b/lpg/libqr/data-create.c
index 9d6c384..6437bc1 100644
--- a/lpg/libqr/data-create.c
+++ b/lpg/libqr/data-create.c
@@ -175,7 +175,7 @@ static int calc_min_version(enum qr_data_type type,
for (version = 1; version <= 40; ++version) {
if (4 + dbits + qr_data_size_field_length(version, type)
- < 8 * QR_DATA_WORD_COUNT[version - 1][ec ^ 0x1])
+ < 8 * (size_t) QR_DATA_WORD_COUNT[version - 1][ec ^ 0x1])
return version;
}