aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conv.cxx')
-rw-r--r--tests/conv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conv.cxx b/tests/conv.cxx
index 2ee523a5..840f18dc 100644
--- a/tests/conv.cxx
+++ b/tests/conv.cxx
@@ -266,7 +266,7 @@ struct TestEntry tests[] = {
static void doTests(const rfb::PixelFormat &dstpf,
const rfb::PixelFormat &srcpf)
{
- int i;
+ size_t i;
char dstb[256], srcb[256];
dstpf.print(dstb, sizeof(dstb));