mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00

gcc warns about casting a pointer to a guint because it is a different size on 64-bit machines. However the pointer is only used as a hash so it doesn't matter if we lose the most significant bits. The patch makes it use GPOINTER_TO_UINT instead which first casts it to a gulong and avoids the warning.