From 3835167be6080c5f9e05b69a17850065ce716d7f Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Sat, 28 Mar 2026 18:22:08 -0300 Subject: [PATCH] app: Convert some vars to guint so make bitwise operation unambiguous Silences a GNU Clang warning. --- app/widgets/gimpcolormapeditor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/widgets/gimpcolormapeditor.c b/app/widgets/gimpcolormapeditor.c index c1950ebe3b..7eab88aa22 100644 --- a/app/widgets/gimpcolormapeditor.c +++ b/app/widgets/gimpcolormapeditor.c @@ -369,7 +369,7 @@ gimp_colormap_editor_color_update (GimpColorDialog *dialog, { push_undo = TRUE; - if (state & gimp_get_toggle_behavior_mask ()) + if ((guint)state & (guint)gimp_get_toggle_behavior_mask ()) gimp_context_set_background (image_editor->context, color); else gimp_context_set_foreground (image_editor->context, color);