Skip to content

Commit bc4cf27

Browse files
committed
Small fix
1 parent ad5ba04 commit bc4cf27

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

server/src/Tests.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -735,20 +735,6 @@ KTestObjectParser::assignAllLazyPointers(Tests::MethodTestCase &testCase,
735735
fromPtr.type.getDimension()));
736736
}
737737
}
738-
739-
/*
740-
* if (!lazyPointer && ptr_element != objects.end()) {
741-
initReferences.emplace_back(name, ptr_element->name,
742-
PrinterUtils::initializePointerToVar(paramType.baseType(),
743-
ptr_element->name,
744-
paramType.getDimension()));
745-
}
746-
if (lazyPointer || ptr_element != objects.end()) {
747-
res = PrinterUtils::C_NULL;
748-
}
749-
return std::make_shared<JustValueView>(
750-
PrinterUtils::initializePointer(paramType.baseType(), res, paramType.getDimension()));
751-
*/
752738
}
753739

754740
void KTestObjectParser::parseTestCases(const UTBotKTestList &cases,

server/src/utils/PrinterUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace PrinterUtils {
4747
return C_NULL;
4848
} else {
4949
std::string additionalPointers = StringUtils::repeat("*", additionalPointersCount);
50-
return StringUtils::stringFormat("(%s%s) 0x%x", type, additionalPointers, std::stoull(value));
50+
return StringUtils::stringFormat("(%s%s) 0x%lx", type, additionalPointers, std::stoull(value));
5151
}
5252
}
5353

0 commit comments

Comments
 (0)