diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-15 22:17:06 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-15 22:19:58 -0500 |
commit | d7e338081c38c8d289c3b6c782b7681477a22d62 (patch) | |
tree | b4f0f8724c95ed28d30386dfd23aa85524d0a8ae /pango | |
parent | 77105c6f02a5f06c95430dcb7dfd1dede3a52ffc (diff) | |
download | pango-d7e338081c38c8d289c3b6c782b7681477a22d62.tar.gz |
Trick g-ir-scanner some more
Add casts to get some defined constants to have
the right type in the gir. The games we play...
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-attributes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index 025a6e2e..aecd1199 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -267,7 +267,7 @@ typedef enum { * * Since: 1.24 */ -#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING 0 +#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING ((guint)0) /** * PANGO_ATTR_INDEX_TO_TEXT_END: (value 4294967295) @@ -277,7 +277,7 @@ typedef enum { * * Since: 1.24 */ -#define PANGO_ATTR_INDEX_TO_TEXT_END (G_MAXUINT + 0) +#define PANGO_ATTR_INDEX_TO_TEXT_END ((guint)(G_MAXUINT + 0)) /** * PangoAttribute: |