Replaced uint with unsigned int

This commit is contained in:
Marcus Minhorst 2025-07-19 10:00:49 -04:00 committed by Ricardo Luís Vaz Silva
commit 649ddd7774
31 changed files with 86 additions and 90 deletions

View file

@ -207,7 +207,7 @@ dap::ResponseOrError<dap::SetBreakpointsResponse> BreakpointManager::SetBreakpoi
found.pop();
continue;
}
for (uint i = 0; i < func->LineInfoCount; i++)
for (unsigned int i = 0; i < func->LineInfoCount; i++)
{
if (func->LineInfo[i].LineNumber == line)
{
@ -453,7 +453,7 @@ dap::ResponseOrError<dap::SetInstructionBreakpointsResponse> BreakpointManager::
dap::SetInstructionBreakpointsResponse response;
ClearBreakpointsType(BreakpointInfo::Type::Instruction);
for (uint i = 0; i < breakpoints.size(); i++)
for (unsigned int i = 0; i < breakpoints.size(); i++)
{
auto &bp = breakpoints[i];
void *srcAddress = (void *)(std::stoull(bp.instructionReference.substr(2), nullptr, 16));

View file

@ -337,7 +337,7 @@ dap::array<dap::Breakpoint> DebugExecutionManager::SetExceptionBreakpointFilters
{
m_exceptionFilters.clear();
dap::array<dap::Breakpoint> breakpoints;
for (uint i = 0; i < filterIds.size(); i++)
for (unsigned int i = 0; i < filterIds.size(); i++)
{
auto breakpoint = dap::Breakpoint();
int64_t id = (int64_t)DebugExecutionManager::GetFilterID(filterIds[i]);

View file

@ -67,7 +67,7 @@ bool StackFrameStateNode::SerializeToProtocol(dap::StackFrame &stackFrame, PexCa
{
// end of the function, get the max line number
int max_line = 0;
for (uint i = 0; i < scriptFunction->LineInfoCount; i++)
for (unsigned int i = 0; i < scriptFunction->LineInfoCount; i++)
{
if (scriptFunction->LineInfo[i].LineNumber > max_line)
{