diff options
author | rubidium <rubidium@openttd.org> | 2013-06-25 18:52:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-25 18:52:12 +0000 |
commit | b4106e686b113ee1fa704b1bf7a10be179cf4fcc (patch) | |
tree | eb4db54562bb94d9be5ea38019f6d3a1ca387036 /src | |
parent | 9bb031533d7d8745a8dd5b403e9737e5b3d3cccf (diff) | |
download | openttd-b4106e686b113ee1fa704b1bf7a10be179cf4fcc.tar.xz |
(svn r25461) -Fix: MSVC compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/station_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 75c473e22..4b3daba5b 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -4224,8 +4224,8 @@ void FlowStatMap::FinalizeLocalConsumption(StationID self) 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. */ |