mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
Use GPOINTER_TO_INT() macro instead of cast to allow compilation on 64-bit
2005-11-21 Davyd Madeley <davyd@fugro-fsi.com.au> * src/edge-resistance.c (meta_display_compute_resistance_and_snap): Use GPOINTER_TO_INT() macro instead of cast to allow compilation on 64-bit architectures without warning.
This commit is contained in:
parent
f9a4aea0cf
commit
d1da3438d4
@ -1,3 +1,9 @@
|
||||
2005-11-21 Davyd Madeley <davyd@fugro-fsi.com.au>
|
||||
|
||||
* src/edge-resistance.c (meta_display_compute_resistance_and_snap):
|
||||
Use GPOINTER_TO_INT() macro instead of cast to allow compilation on
|
||||
64-bit architectures without warning.
|
||||
|
||||
2005-11-19 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* src/edge-resistance.c (apply_edge_resistance): differentiate
|
||||
|
@ -1112,7 +1112,7 @@ meta_display_compute_resistance_and_snapping_edges (MetaDisplay *display)
|
||||
* stacking position than this one.
|
||||
*/
|
||||
while (rem_win_stacking &&
|
||||
stack_position >= (int)rem_win_stacking->data)
|
||||
stack_position >= GPOINTER_TO_INT (rem_win_stacking->data))
|
||||
{
|
||||
rem_windows = rem_windows->next;
|
||||
rem_win_stacking = rem_win_stacking->next;
|
||||
|
Loading…
Reference in New Issue
Block a user