diff options
author | peter1138 <peter1138@openttd.org> | 2010-01-22 15:34:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2010-01-22 15:34:22 +0000 |
commit | 16e621c9392a937ac1117c924bd4595a7557534d (patch) | |
tree | 119f7bb42a460ea86e3e132a1952c4dd6226064e /src | |
parent | bb71c61ee1dce8fa55454f73d3c9bdae54335973 (diff) | |
download | openttd-16e621c9392a937ac1117c924bd4595a7557534d.tar.xz |
(svn r18886) -Fix (r18884): Spurious casting
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 2 |
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 |