red-channel-client: Change gboolean -> bool

Avoid possible type conversion

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Julien Ropé <jrope@gmail.com>
This commit is contained in:
Frediano Ziglio 2020-07-15 11:27:19 +01:00
parent 30d917ba5d
commit 8dcbc99d3f

View File

@ -1652,13 +1652,13 @@ void RedChannelClient::pipe_remove_and_release(RedPipeItem *item)
/* client mutex should be locked before this call */
bool RedChannelClient::set_migration_seamless()
{
gboolean ret = FALSE;
bool ret = false;
uint32_t flags;
flags = priv->channel->migration_flags();
if (flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) {
priv->wait_migrate_data = TRUE;
ret = TRUE;
ret = true;
}
red_channel_debug(priv->channel, "rcc %p wait data %d", this,
priv->wait_migrate_data);