Skip to content

Commit 5449091

Browse files
committed
fix: change nullptr to 0 for unsigned return type in GetLine
1 parent 906698d commit 5449091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Libraries/Source/profile/profile_funclevel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ unsigned ProfileFuncLevel::Id::GetAddress(void) const
611611
unsigned ProfileFuncLevel::Id::GetLine(void) const
612612
{
613613
if (!m_funcPtr)
614-
return nullptr;
614+
return 0;
615615
ProfileFuncLevelTracer::Function *func=(ProfileFuncLevelTracer::Function *)m_funcPtr;
616616
if (!func->funcSource)
617617
GetSource();

0 commit comments

Comments
 (0)