diff options
author | dominik <dominik@openttd.org> | 2004-12-19 13:06:20 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-12-19 13:06:20 +0000 |
commit | 72621164400b534c823c384acab3b9334dd66977 (patch) | |
tree | 8de722310a0d29d192889226b236079a69a167b7 | |
parent | 84475dc5038373599b10c6f5c1b9c59680524e3c (diff) | |
download | openttd-72621164400b534c823c384acab3b9334dd66977.tar.xz |
(svn r1170) Fix: news_gui.c should compile everywhere without warnings now.
-rw-r--r-- | news_gui.c | 2 |
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; |