Index: trunk/src/hid/lesstif/main.c =================================================================== --- trunk/src/hid/lesstif/main.c (revision 1010) +++ trunk/src/hid/lesstif/main.c (revision 1011) @@ -2600,7 +2600,7 @@ { static int c_x = -2, c_y = -2; static MarkType saved_mark; - static Unit *old_grid_unit = NULL; + static const Unit *old_grid_unit = NULL; if (crosshair_x != c_x || crosshair_y != c_y || Settings.grid_unit != old_grid_unit || memcmp (&saved_mark, &Marked, sizeof (MarkType)))