[gtk: 1/2] gtk: fix GTK_INVALID_LIST_POSITION type
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gtk: fix GTK_INVALID_LIST_POSITION type
- Date: Tue, 7 Dec 2021 14:22:41 +0000 (UTC)
commit 42249ce28e807e12e244861da237a766792b313e
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Thu Jul 8 13:08:38 2021 +0400
gtk: fix GTK_INVALID_LIST_POSITION type
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h
index 79720618f0..5892c0980e 100644
--- a/gtk/gtktypes.h
+++ b/gtk/gtktypes.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]