DBG: const variable instead of #define
This commit is contained in:
parent
9616feab5c
commit
5a328e8f9d
|
|
@ -254,7 +254,7 @@ void stackgetcallstack(duint csp, std::vector<CALLSTACKENTRY> & callstackVector,
|
|||
frame.AddrStack.Mode = AddrModeFlat;
|
||||
#endif
|
||||
|
||||
#define MaxWalks 50
|
||||
const int MaxWalks = 50;
|
||||
// Container for each callstack entry (50 pre-allocated entries)
|
||||
callstackVector.clear();
|
||||
callstackVector.reserve(MaxWalks);
|
||||
|
|
|
|||
Loading…
Reference in New Issue