From 16e621c9392a937ac1117c924bd4595a7557534d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 22 Jan 2010 15:34:22 +0000 Subject: [PATCH] (svn r18886) -Fix (r18884): Spurious casting --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 74a1f4323b..432f7a81d3 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