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:
Philip Withnall 2020-07-26 23:05:31 +01:00
parent 437526675a
commit 59eb3c5bdb

View File

@ -382,7 +382,7 @@ test_uri_unescape_bytes (gconstpointer test_data)
tests[] =
{
{ "%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 },
{ "%%", NULL, -1, NULL },
{ "%", NULL, -1, NULL },