summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-06-10 21:59:22 +0000
committersmatz <smatz@openttd.org>2008-06-10 21:59:22 +0000
commit506cde94b66dc639f5f550849f9d8b9942832c4c (patch)
tree1e9c70ae3dc2bbcd2c970580934f71f53844a48a /src/win32.cpp
parent0e78f51801fd7c4af6113976d69cd7582a11a3e7 (diff)
downloadopenttd-506cde94b66dc639f5f550849f9d8b9942832c4c.tar.xz
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index e2e02d905..eff7b6046 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -474,7 +474,7 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
_ident = GetTickCount(); // something pretty unique
- MakeCRCTable((uint32*)alloca(256 * sizeof(uint32)));
+ MakeCRCTable(AllocaM(uint32, 256));
_crash_msg = output = (char*)LocalAlloc(LMEM_FIXED, 8192);
{