fix a couple more, maybe

This commit is contained in:
DarthArgus
2014-10-27 15:33:52 -07:00
parent 35df8b2c1c
commit 9e6f200300
2 changed files with 1 additions and 2 deletions
@@ -141,7 +141,7 @@ void CallStackCollectorNamespace::Node::addCallStack(uint32 * const callStack)
{
//-- Create new callstack
uint32 * const newCallStack = new uint32[CALLSTACK_DEPTH];
memcpy(newCallStack, callStack, (*newCallStack));
memcpy(newCallStack, callStack, sizeof(*newCallStack));
CallStackEntry callStackEntry;
callStackEntry.m_callStack = newCallStack;