aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/bits.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/bits.cc')
-rw-r--r--libtests/bits.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/bits.cc b/libtests/bits.cc
index b1857988..7837ac68 100644
--- a/libtests/bits.cc
+++ b/libtests/bits.cc
@@ -46,7 +46,7 @@ print_buffer(Pl_Buffer* bp)
bp->finish();
Buffer* b = bp->getBuffer();
unsigned char const* p = b->getBuffer();
- unsigned long l = b->getSize();
+ size_t l = b->getSize();
for (unsigned long i = 0; i < l; ++i)
{
printf("%02x%s", (unsigned int)(p[i]),