From de4699a97e40bef9ac00bce397f2f1f7190d93e8 Mon Sep 17 00:00:00 2001 From: withmorten Date: Mon, 28 Jun 2021 18:14:15 +0200 Subject: [PATCH] fix no VALIDATE_SAVE_SIZE build --- src/save/SaveBuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/save/SaveBuf.h b/src/save/SaveBuf.h index 1ca0066a..de27017e 100644 --- a/src/save/SaveBuf.h +++ b/src/save/SaveBuf.h @@ -111,5 +111,5 @@ WriteSaveBuf(uint8 *&buf, uint32 &length, const T &value) } while(0) #else #define CheckSaveHeader(buf, a, b, c, d, size) SkipSaveBuf(buf, 8); -#define CheckSaveHeaderWithLength(buf, a, b, c, d, size) SkipSaveBuf(buf, 8); +#define CheckSaveHeaderWithLength(buf, len, a, b, c, d, size) SkipSaveBuf(buf, 8); #endif