summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2010-01-22 15:34:22 +0000
committerpeter1138 <peter1138@openttd.org>2010-01-22 15:34:22 +0000
commit16e621c9392a937ac1117c924bd4595a7557534d (patch)
tree119f7bb42a460ea86e3e132a1952c4dd6226064e /src
parentbb71c61ee1dce8fa55454f73d3c9bdae54335973 (diff)
downloadopenttd-16e621c9392a937ac1117c924bd4595a7557534d.tar.xz
(svn r18886) -Fix (r18884): Spurious casting
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 74a1f4323..432f7a81d 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -105,7 +105,7 @@ public:
FORCEINLINE size_t Remaining() const
{
- return (int)(end - data);
+ return end - data;
}
FORCEINLINE bool HasData() const