Commit 2de14479 authored by Emmanuele Bassi's avatar Emmanuele Bassi

broadway: Cast g_object_ref() to the right type

In GLib 2.56, g_object_ref() will check that you're assigning the return
value to a variable of the same type you're passing in.
parent d219bd4d
......@@ -1267,7 +1267,7 @@ handle_incoming_connection (GSocketService *service,
}
else
{
request->connection = g_object_ref (connection);
request->connection = G_IO_STREAM (g_object_ref (connection));
}
in = g_io_stream_get_input_stream (request->connection);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment