From 51a0129f7322e97825455df4eb6eecfea14980f5 Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Tue, 21 May 2019 20:12:19 -0700 Subject: [PATCH] [subset] Thar be comparison of integers of different signs --- test/api/hb-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/hb-test.h b/test/api/hb-test.h index 59e0a9b..d44e8da 100644 --- a/test/api/hb-test.h +++ b/test/api/hb-test.h @@ -175,7 +175,7 @@ static inline void hb_test_assert_blobs_equal (hb_blob_t *expected_blob, hb_blob g_assert_cmpint(expected_length, ==, actual_length); if (memcmp (raw_expected, raw_actual, expected_length) != 0) { - for (int i = 0; i < expected_length; i++) + for (unsigned int i = 0; i < expected_length; i++) { int expected = *(raw_expected + i); int actual = *(raw_actual + i); -- 2.7.4