diff options
author | smatz <smatz@openttd.org> | 2010-10-16 17:37:48 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-10-16 17:37:48 +0000 |
commit | 10ee071cab5b40e0c1b148fce2a5c3ad8b39ecdd (patch) | |
tree | c7738bd72989f267163ee8e362c1a93d1a11b62c /src/pathfinder/npf | |
parent | cdf985bff4b6c04618682ea1e1099b00ed27cbf6 (diff) | |
download | openttd-10ee071cab5b40e0c1b148fce2a5c3ad8b39ecdd.tar.xz |
(svn r20948) -Fix (r20880): compiler warning
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r-- | src/pathfinder/npf/queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/queue.h b/src/pathfinder/npf/queue.h index 1f4f08c91..0587c85bc 100644 --- a/src/pathfinder/npf/queue.h +++ b/src/pathfinder/npf/queue.h @@ -99,7 +99,7 @@ struct Hash { /** * Gets the current size of the hash. */ - uint FORCEINLINE GetSize() const + FORCEINLINE uint GetSize() const { return this->size; } |