diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 243d3c911a..814c1066ac 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -792,7 +792,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) { switch (e->event) { case WE_PAINT: { - LegendAndColour *tbl; + const LegendAndColour *tbl; int x, y, y_org; DrawPixelInfo new_dpi;