mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 01:54:10 +00:00
![Neil Roberts](/assets/img/avatar_default.png)
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.