diff options
-rw-r--r-- | src/strgen/strgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index 21f4d07fd..795c244d4 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -1316,7 +1316,7 @@ struct LanguageWriter { */ void WriteLang(const StringData &data) { - uint in_use[data.tabs]; + uint *in_use = AllocaM(uint, data.tabs); for (size_t tab = 0; tab < data.tabs; tab++) { uint n = data.CountInUse(tab); |