From 8dcbc99d3f36c838bea7a43a02cf7265a383b5c5 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 15 Jul 2020 11:27:19 +0100 Subject: [PATCH] red-channel-client: Change gboolean -> bool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid possible type conversion Signed-off-by: Frediano Ziglio Acked-by: Julien Ropé --- server/red-channel-client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/red-channel-client.cpp b/server/red-channel-client.cpp index ebccb7bc..2d6a780c 100644 --- a/server/red-channel-client.cpp +++ b/server/red-channel-client.cpp @@ -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);