mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Fix signedness warnings in glib/tests/convert.c
glib/tests/convert.c:168:16: error: comparison of integer expressions of different signedness: ‘glong’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} 168 | if (utf8_len == strlen (utf8)) | ^~ glib/tests/convert.c:309:16: error: comparison of integer expressions of different signedness: ‘glong’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} 309 | if (utf8_len == strlen (utf8)) | ^~
This commit is contained in:
parent
fd7f2e6c8a
commit
d6eaa742e7
@ -138,7 +138,7 @@ test_byte_order (void)
|
||||
|
||||
static void
|
||||
check_utf8_to_ucs4 (const char *utf8,
|
||||
glong utf8_len,
|
||||
gsize utf8_len,
|
||||
const gunichar *ucs4,
|
||||
glong ucs4_len,
|
||||
glong error_pos)
|
||||
@ -292,7 +292,7 @@ check_ucs4_to_utf8 (const gunichar *ucs4,
|
||||
|
||||
static void
|
||||
check_utf8_to_utf16 (const char *utf8,
|
||||
glong utf8_len,
|
||||
gsize utf8_len,
|
||||
const gunichar2 *utf16,
|
||||
glong utf16_len,
|
||||
glong error_pos)
|
||||
|
Loading…
Reference in New Issue
Block a user