Skip to content

Commit 029eaf1

Browse files
committed
fix: correct GetSymbol call syntax in profile_funclevel.cpp
1 parent 9e47682 commit 029eaf1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Core/Libraries/Source/profile/profile_funclevel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,8 @@ const char *ProfileFuncLevel::Id::GetSource(void) const
574574
{
575575
char helpFunc[256],helpFile[256];
576576
unsigned ofsFunc;
577-
DebugStackwalk::Signature::GetSymbol(func->addr, nullptr,0,nullptr, helpFunc,sizeof(helpFunc),&ofsFunc, helpFile,sizeof(helpFile),&func->funcLine,nullptr);
578-
NULL,0,nullptr,
577+
DebugStackwalk::Signature::GetSymbol(func->addr,
578+
nullptr,0,nullptr,
579579
helpFunc,sizeof(helpFunc),&ofsFunc,
580580
helpFile,sizeof(helpFile),&func->funcLine,nullptr);
581581

Core/Tools/Babylon/BabylonDlg.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,15 +2176,14 @@ int CBabylonDlg::ValidateStrFile( const char *filename)
21762176

21772177
sprintf ( buffer, "strcheck %s %s", filename, results );
21782178

2179-
if (!CreateProcess( nullptr, buffer, nullptr, NULL, FALSE, 0, nullptr, NULL, &StartupInfo, &ProcessInfo))
2180-
NULL,
2179+
if (!CreateProcess( nullptr,
21812180
buffer,
2182-
NULL,
2183-
NULL,
2181+
nullptr,
2182+
nullptr,
21842183
FALSE,
21852184
0,
2186-
NULL,
2187-
NULL,
2185+
nullptr,
2186+
nullptr,
21882187
&StartupInfo,
21892188
&ProcessInfo))
21902189
{

0 commit comments

Comments
 (0)