summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-07 03:16:10 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-07 03:16:10 +0200
commit24bf4c2cbae67be4a0ac5f674f3fb5645e92516b (patch)
tree392d6754b618a6be48c391d86601da905299be89 /src/core/common.h
parenta bit of fonts (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.gz
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.bz2
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.lz
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.xz
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.tar.zst
re3-24bf4c2cbae67be4a0ac5f674f3fb5645e92516b.zip
Diffstat (limited to 'src/core/common.h')
-rw-r--r--src/core/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h
index cc570bef..eb43d8d5 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -405,7 +405,7 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
WriteSaveBuf(buf, b);\
WriteSaveBuf(buf, c);\
WriteSaveBuf(buf, d);\
- WriteSaveBuf(buf, size);
+ WriteSaveBuf<uint32>(buf, size);
#define CheckSaveHeader(buf,a,b,c,d,size)\
assert(ReadSaveBuf<char>(buf) == a);\