mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
tests: Add missing cast to URI tests
This fixes a compiler warning. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
437526675a
commit
59eb3c5bdb
@ -382,7 +382,7 @@ test_uri_unescape_bytes (gconstpointer test_data)
|
|||||||
tests[] =
|
tests[] =
|
||||||
{
|
{
|
||||||
{ "%00%00", NULL, 2, (const guint8 *) "\x00\x00" },
|
{ "%00%00", NULL, 2, (const guint8 *) "\x00\x00" },
|
||||||
{ "/cursors/none.png", "/", 17, "/cursors/none.png" },
|
{ "/cursors/none.png", "/", 17, (const guint8 *) "/cursors/none.png" },
|
||||||
{ "/cursors%2fbad-subdir/none.png", "/", -1, NULL },
|
{ "/cursors%2fbad-subdir/none.png", "/", -1, NULL },
|
||||||
{ "%%", NULL, -1, NULL },
|
{ "%%", NULL, -1, NULL },
|
||||||
{ "%", NULL, -1, NULL },
|
{ "%", NULL, -1, NULL },
|
||||||
|
Loading…
Reference in New Issue
Block a user