projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e3b0c
)
[subset] Thar be comparison of integers of different signs
author
Rod Sheeter
<rsheeter@google.com>
Wed, 22 May 2019 03:12:19 +0000
(20:12 -0700)
committer
Rod Sheeter
<rsheeter@google.com>
Wed, 22 May 2019 03:12:19 +0000
(20:12 -0700)
test/api/hb-test.h
patch
|
blob
|
history
diff --git
a/test/api/hb-test.h
b/test/api/hb-test.h
index
59e0a9b
..
d44e8da
100644
(file)
--- 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);