summaryrefslogtreecommitdiff
path: root/saveload.c
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
commit4130198f48f8c342373c4aa17b0c2cba31835415 (patch)
treecb30741b5dd04bed2f0cf7ccfc417204ed29ae2d /saveload.c
parent3720503e7c750a1f40df87a5672a3dd85ce2484d (diff)
downloadopenttd-4130198f48f8c342373c4aa17b0c2cba31835415.tar.xz
(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
Diffstat (limited to 'saveload.c')
-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);