[subset] Cppcheck complaints

This commit is contained in:
Rod Sheeter 2019-05-24 10:39:56 -07:00
parent 13b3cd307e
commit e662532833
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ static inline void hb_test_assert_blobs_equal (hb_blob_t *expected_blob, hb_blob
{ {
int expected = *(raw_expected + i); int expected = *(raw_expected + i);
int actual = *(raw_actual + i); int actual = *(raw_actual + i);
if (expected != actual) fprintf(stderr, "+%d %02x != %02x\n", i, expected, actual); if (expected != actual) fprintf(stderr, "+%u %02x != %02x\n", i, expected, actual);
else fprintf(stderr, "+%d %02x\n", i, expected); else fprintf(stderr, "+%u %02x\n", i, expected);
} }
} }
g_assert_cmpint(0, ==, memcmp(raw_expected, raw_actual, expected_length)); g_assert_cmpint(0, ==, memcmp(raw_expected, raw_actual, expected_length));