summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-19 13:06:20 +0000
committerdominik <dominik@openttd.org>2004-12-19 13:06:20 +0000
commit18dd7ebae200528fbdbcf67e1d605e000553e3be (patch)
tree8de722310a0d29d192889226b236079a69a167b7 /news_gui.c
parent4d94803d3263310b675ac762676cb24ef50cd2e0 (diff)
downloadopenttd-18dd7ebae200528fbdbcf67e1d605e000553e3be.tar.xz
(svn r1170) Fix: news_gui.c should compile everywhere without warnings now.
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c
index b9f7e8286..6ec0c3559 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -258,7 +258,7 @@ void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b)
/* To add a news item with an attached validation function. This validation function
* makes sure that the news item is not outdated when the newspaper pops up. */
-void AddValidatedNewsItem(StringID string, uint32 flags, uint data_a, uint data_b, ValidationProc validation)
+void AddValidatedNewsItem(StringID string, uint32 flags, uint data_a, uint data_b, ValidationProc *validation)
{
AddNewsItem(string, flags, data_a, data_b);
_news_items[_latest_news].isValid = validation;