summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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