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