1
0
Fork 0

DBG: const variable instead of #define

This commit is contained in:
mrexodia 2016-10-14 01:04:22 +02:00
parent 9616feab5c
commit 5a328e8f9d
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -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);