From 2a341b815cefca07e7159758272760ff7b5df6fc Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Mon, 30 Mar 2026 12:26:01 -0300 Subject: [PATCH] app: Change some booleans on propgui-types to unsigned integers This fixes an Apple Clang warning about implicit truncation from 'int' to a one-bit wide bit-field --- app/propgui/propgui-types.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/propgui/propgui-types.h b/app/propgui/propgui-types.h index 43c6fe7d07..dbbc525b65 100644 --- a/app/propgui/propgui-types.h +++ b/app/propgui/propgui-types.h @@ -43,12 +43,12 @@ typedef struct gdouble min; /* minimal allowable slider value */ gdouble max; /* maximal allowable slider value */ - gboolean visible : 1; /* slider is visible */ - gboolean selectable : 1; /* slider is selectable */ - gboolean movable : 1; /* slider movable */ - gboolean removable : 1; /* slider is removable */ + guint visible : 1; /* slider is visible */ + guint selectable : 1; /* slider is selectable */ + guint movable : 1; /* slider movable */ + guint removable : 1; /* slider is removable */ - gboolean autohide : 1; /* whether to autohide the slider */ + guint autohide : 1; /* whether to autohide the slider */ GimpHandleType type; /* slider handle type */ gdouble size; /* slider handle size, as a fraction of * * the default size */