cups: Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 May 2023 18:39:22 +0000 (14:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 May 2023 18:39:46 +0000 (14:39 -0400)
Bitfields should be unsigned int.

modules/printbackends/gtkcupsutils.h

index d14f9398d476ffe107e0e57467072d9211f3c9a6..7859427ea09361c4504912b0b5013ec903d4417c 100644 (file)
@@ -96,9 +96,9 @@ struct _GtkCupsRequest
   char *password;
   char *username;
 
-  int own_http : 1;
-  int need_password : 1;
-  int need_auth_info : 1;
+  unsigned int own_http : 1;
+  unsigned int need_password : 1;
+  unsigned int need_auth_info : 1;
   char **auth_info_required;
   char **auth_info;
   GtkCupsPasswordState password_state;