1
0
Fork 0

(svn r25461) -Fix: MSVC compiler warning

release/1.4
rubidium 2013-06-25 18:52:12 +00:00
parent 9bb031533d
commit b4106e686b
1 changed files with 2 additions and 2 deletions

View File

@ -4224,8 +4224,8 @@ void FlowStatMap::FinalizeLocalConsumption(StationID self)
fs.ChangeShare(INVALID_STATION, -INT_MAX); fs.ChangeShare(INVALID_STATION, -INT_MAX);
local -= INT_MAX; local -= INT_MAX;
} }
fs.ChangeShare(self, (int)-local); fs.ChangeShare(self, -(int)local);
fs.ChangeShare(INVALID_STATION, (int)-local); fs.ChangeShare(INVALID_STATION, -(int)local);
/* If the local share is used up there must be a share for some /* If the local share is used up there must be a share for some
* remote station. */ * remote station. */