commit | 5c23b9ed7d55a2cd5f44b8ec3da2c8bdcac5c3a5 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:26:03 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:26:03 2015 +0100 |
tree | 8c3438ffdacb5188cae93df720219fb96c242505 | |
parent | a7bbe9c4a3b2090240173e45bebab86e5cba3b4b [diff] [blame] |
Fix bad signed/unsigned comparisons Either by casting, or switching to a more appropriate type for the variable.
diff --git a/tests/conv.cxx b/tests/conv.cxx index 2ee523a..840f18d 100644 --- a/tests/conv.cxx +++ b/tests/conv.cxx
@@ -266,7 +266,7 @@ 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));