summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-20 19:08:02 +0000
committertron <tron@openttd.org>2005-07-20 19:08:02 +0000
commite36d25210e2baa657bd216949de69c149de8d76a (patch)
treecb30741b5dd04bed2f0cf7ccfc417204ed29ae2d
parentf1946d834908912c1e110db9d6b0d6bef552433f (diff)
downloadopenttd-e36d25210e2baa657bd216949de69c149de8d76a.tar.xz
(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
-rw-r--r--saveload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index 1e6526d7a..3c561f821 100644
--- a/saveload.c
+++ b/saveload.c
@@ -121,7 +121,7 @@ static inline uint64 SlReadUint64(void)
return (uint64)x << 32 | y;
}
-static inline void SlWriteUint16(VarType v)
+static inline void SlWriteUint16(uint16 v)
{
SlWriteByte((byte)(v >> 8));
SlWriteByte((byte)v);