From d9437da8dd6f305121b5bef222984a92c900d9f2 Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Mon, 19 Oct 2026 14:48:45 +0200 Subject: [PATCH] cups: the request flags as unsigned bit-fields A gint of one bit holds 0 and -1, so TRUE did not fit. --- modules/printbackends/cups/gtkcupsutils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/printbackends/cups/gtkcupsutils.h b/modules/printbackends/cups/gtkcupsutils.h index 2f1dc3dab..75d7d5eb2 100644 --- a/modules/printbackends/cups/gtkcupsutils.h +++ b/modules/printbackends/cups/gtkcupsutils.h @@ -98,9 +98,9 @@ struct _GtkCupsRequest gchar *password; gchar *username; - gint own_http : 1; - gint need_password : 1; - gint need_auth_info : 1; + guint own_http : 1; + guint need_password : 1; + guint need_auth_info : 1; gchar **auth_info_required; gchar **auth_info; GtkCupsPasswordState password_state;