gtk: fix GTK_INVALID_LIST_POSITION type
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Jul 2021 09:08:38 +0000 (13:08 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Jul 2021 09:08:43 +0000 (13:08 +0400)
Unless there is an explicit front cast, constants are generally int for g-i.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
gtk/gtktypes.h

index 79720618f0cfc034a9b49584dfb4a86cfa95572f..5892c0980ee4ca72fbd62610e0bc39c604b6227a 100644 (file)
@@ -69,7 +69,7 @@ typedef struct _GtkWindow              GtkWindow;
  * Refer to each function's documentation for if this value is
  * allowed and what it does.
  */
-#define GTK_INVALID_LIST_POSITION (0xffffffffU)
+#define GTK_INVALID_LIST_POSITION ((guint32) 0xffffffff)
 
 G_END_DECLS