diff --git a/shared/nm-glib-aux/nm-hash-utils.h b/shared/nm-glib-aux/nm-hash-utils.h index d1c76ea9a5..997c751955 100644 --- a/shared/nm-glib-aux/nm-hash-utils.h +++ b/shared/nm-glib-aux/nm-hash-utils.h @@ -296,6 +296,10 @@ gboolean nm_pstr_equal (gconstpointer a, gconstpointer b); guint nm_pint_hash (gconstpointer p); gboolean nm_pint_equals (gconstpointer a, gconstpointer b); +G_STATIC_ASSERT (sizeof (int) == sizeof (guint32)); +#define nm_puint32_hash nm_pint_hash +#define nm_puint32_equals nm_pint_equals + /*****************************************************************************/ /* this hashes/compares the pointer value that we point to. Basically,