summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2021-01-31 15:02:15 +0100
committerGitHub <noreply@github.com>2021-01-31 15:02:15 +0100
commitbb47f3a8e47e4af7ed84982d9919932e3a91dcfc (patch)
treed5f6bec69f46f3a23d0bce9a7c9974aae1f6515c /src
parentfix (diff)
downloadre3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar.gz
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar.bz2
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar.lz
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar.xz
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.tar.zst
re3-bb47f3a8e47e4af7ed84982d9919932e3a91dcfc.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/re3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 4a2dfe00..773d3765 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -703,7 +703,7 @@ void CTweakVars::Add(CTweakVar *var)
TweakVarsListSize = 0;
}
if(TweakVarsListSize > 63)
- TweakVarsList = (CTweakVar**) realloc(TweakVarsList, (TweakVarsListSize + 1) * sizeof(*var));
+ TweakVarsList = (CTweakVar**) realloc(TweakVarsList, (TweakVarsListSize + 1) * sizeof(CTweakVar*));
TweakVarsList[TweakVarsListSize++] = var;
// TweakVarsList.push_back(var);