aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr/bitstream.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/bitstream.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/bitstream.h')
-rw-r--r--lpg/libqr/qr/bitstream.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lpg/libqr/qr/bitstream.h b/lpg/libqr/qr/bitstream.h
index 5ca6b41..9bd8261 100644
--- a/lpg/libqr/qr/bitstream.h
+++ b/lpg/libqr/qr/bitstream.h
@@ -22,21 +22,21 @@ size_t qr_bitstream_tell(const struct qr_bitstream *);
size_t qr_bitstream_remaining(const struct qr_bitstream *);
size_t qr_bitstream_size(const struct qr_bitstream *);
-unsigned int qr_bitstream_read(struct qr_bitstream *, size_t bits);
+unsigned long qr_bitstream_read(struct qr_bitstream *, int bits);
void qr_bitstream_unpack(struct qr_bitstream *,
unsigned int * result,
size_t count,
- size_t bitsize);
+ int bitsize);
int qr_bitstream_write(struct qr_bitstream *,
- unsigned int value,
- size_t bits);
+ unsigned long value,
+ int bits);
int qr_bitstream_pack(struct qr_bitstream *,
const unsigned int * values,
size_t count,
- size_t bitsize);
+ int bitsize);
int qr_bitstream_cat(struct qr_bitstream *,
const struct qr_bitstream * src);