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.
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user