summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-10-16 17:37:48 +0000
committersmatz <smatz@openttd.org>2010-10-16 17:37:48 +0000
commit10ee071cab5b40e0c1b148fce2a5c3ad8b39ecdd (patch)
treec7738bd72989f267163ee8e362c1a93d1a11b62c /src/pathfinder/npf
parentcdf985bff4b6c04618682ea1e1099b00ed27cbf6 (diff)
downloadopenttd-10ee071cab5b40e0c1b148fce2a5c3ad8b39ecdd.tar.xz
(svn r20948) -Fix (r20880): compiler warning
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r--src/pathfinder/npf/queue.h2
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;
}