diff options
author | smatz <smatz@openttd.org> | 2007-12-23 21:02:40 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-12-23 21:02:40 +0000 |
commit | 17d1b522bc1b38390a3872820dbc812557ac1d71 (patch) | |
tree | b2ae58ad998de5ce2917ae2a850ad83eaa15a846 /src/rail_gui.cpp | |
parent | 22f79df32830d173827038222e509721c1e5ac18 (diff) | |
download | openttd-17d1b522bc1b38390a3872820dbc812557ac1d71.tar.xz |
(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 8ffcddc2b..00037911d 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1173,7 +1173,7 @@ enum BuildSignalWidgets { * @param xrel the relativ x value of the sprite in the grf * @param xsize the width of the sprite */ -static const void DrawSignalSprite(const Window *w, byte widget_index, SpriteID image, int8 xrel, uint8 xsize) +static void DrawSignalSprite(const Window *w, byte widget_index, SpriteID image, int8 xrel, uint8 xsize) { DrawSprite(image + w->IsWidgetLowered(widget_index), PAL_NONE, w->widget[widget_index].left + (w->widget[widget_index].right - w->widget[widget_index].left) / 2 - xrel - xsize / 2 + |