From bc3d0ca4b7c7672c20a1096ba614bf7b536ded74 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 22 Dec 2021 11:00:20 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' --- src/fr-process.c | 4 ++-- src/fr-window.c | 4 ++-- src/fr-window.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fr-process.c b/src/fr-process.c index 1ee9d8d..c961485 100644 --- a/src/fr-process.c +++ b/src/fr-process.c @@ -413,7 +413,7 @@ fr_process_set_sticky (FrProcess *process, g_return_if_fail (process->priv->current_comm >= 0); info = g_ptr_array_index (process->priv->comm, process->priv->current_comm); - info->sticky = sticky; + info->sticky = (sticky != FALSE); } void @@ -426,7 +426,7 @@ fr_process_set_ignore_error (FrProcess *process, g_return_if_fail (process->priv->current_comm >= 0); info = g_ptr_array_index (process->priv->comm, process->priv->current_comm); - info->ignore_error = ignore_error; + info->ignore_error = (ignore_error != FALSE); } void diff --git a/src/fr-window.c b/src/fr-window.c index 9154f09..3cc888f 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -6428,7 +6428,7 @@ archive_is_encrypted (FrWindow *window, void fr_window_archive_extract_here (FrWindow *window, gboolean skip_older, - gboolean overwrite, + FrOverwrite overwrite, gboolean junk_paths) { ExtractData *edata; @@ -8545,7 +8545,7 @@ fr_window_exec_batch_action (FrWindow *window, fr_window_archive_extract_here (window, FALSE, - TRUE, + FR_OVERWRITE_NO, FALSE); break; diff --git a/src/fr-window.h b/src/fr-window.h index f56f860..23ecaa0 100644 --- a/src/fr-window.h +++ b/src/fr-window.h @@ -158,7 +158,7 @@ void fr_window_archive_extract (FrWindow *window, gboolean ask_to_open_destination); void fr_window_archive_extract_here (FrWindow *window, gboolean skip_older, - gboolean overwrite, + FrOverwrite overwrite, gboolean junk_paths); void fr_window_archive_test (FrWindow *window); -- cgit v1.2.1