Mercurial > hg > openttd
changeset 20501:a59992137c3c draft
(svn r25461) -Fix: MSVC compiler warning
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 25 Jun 2013 18:52:12 +0000 |
parents | 36336b1921ed |
children | f3e3e1ca3ea0 |
files | src/station_cmd.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -4224,8 +4224,8 @@ fs.ChangeShare(INVALID_STATION, -INT_MAX); local -= INT_MAX; } - fs.ChangeShare(self, (int)-local); - fs.ChangeShare(INVALID_STATION, (int)-local); + fs.ChangeShare(self, -(int)local); + fs.ChangeShare(INVALID_STATION, -(int)local); /* If the local share is used up there must be a share for some * remote station. */