diff --git a/src/script/api/script_news.cpp b/src/script/api/script_news.cpp index 0939c8a3b4..290810eb69 100644 --- a/src/script/api/script_news.cpp +++ b/src/script/api/script_news.cpp @@ -20,7 +20,7 @@ #include "../../safeguards.h" -/* static */ bool ScriptNews::Create(NewsType type, Text *text, ScriptCompany::CompanyID company, NewsReferenceType ref_type, uint32 reference) +/* static */ bool ScriptNews::Create(NewsType type, Text *text, ScriptCompany::CompanyID company, NewsReferenceType ref_type, SQInteger reference) { CCountedPtr counter(text); diff --git a/src/script/api/script_news.hpp b/src/script/api/script_news.hpp index 630c068c9a..4518a56047 100644 --- a/src/script/api/script_news.hpp +++ b/src/script/api/script_news.hpp @@ -63,7 +63,7 @@ public: * @pre company == COMPANY_INVALID || ResolveCompanyID(company) != COMPANY_INVALID. * @pre The \a reference condition must be fulfilled. */ - static bool Create(NewsType type, Text *text, ScriptCompany::CompanyID company, NewsReferenceType ref_type, uint32 reference); + static bool Create(NewsType type, Text *text, ScriptCompany::CompanyID company, NewsReferenceType ref_type, SQInteger reference); }; #endif /* SCRIPT_NEWS_HPP */