diff --git a/glib/glib-init.c b/glib/glib-init.c index 99917e484..8a7224e81 100644 --- a/glib/glib-init.c +++ b/glib/glib-init.c @@ -141,6 +141,9 @@ G_STATIC_ASSERT (sizeof (gintptr) == sizeof (intptr_t)); G_STATIC_ASSERT (sizeof (guintptr) == sizeof (uintptr_t)); G_STATIC_ASSERT (G_ALIGNOF (gintptr) == G_ALIGNOF (intptr_t)); G_STATIC_ASSERT (G_ALIGNOF (guintptr) == G_ALIGNOF (uintptr_t)); +/* True by definition */ +G_STATIC_ASSERT (sizeof (gintptr) >= sizeof (void *)); +G_STATIC_ASSERT (sizeof (guintptr) >= sizeof (void *)); G_STATIC_ASSERT (sizeof (gint8) == sizeof (int8_t)); G_STATIC_ASSERT (sizeof (guint8) == sizeof (uint8_t));