diff options
author | rubidium <rubidium@openttd.org> | 2009-09-09 12:41:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-09 12:41:51 +0000 |
commit | a8070263366171208f93f9e0613ddb3e717cbf3d (patch) | |
tree | 44049f78bdcf4dc6e482b7b1e66b24e848952bba /src/company_cmd.cpp | |
parent | f3f6eaa6dc715531cbf92ff84e175e5add3a4688 (diff) | |
download | openttd-a8070263366171208f93f9e0613ddb3e717cbf3d.tar.xz |
(svn r17487) -Fix: silence some MSVC warnings
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index e80599b62..9053fa987 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -77,8 +77,8 @@ Company::~Company() */ void Company::PostDestructor(size_t index) { - InvalidateWindowData(WC_GRAPH_LEGEND, 0, index); - InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, index); + InvalidateWindowData(WC_GRAPH_LEGEND, 0, (int)index); + InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, (int)index); } /** |