summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/XRay/FDRProducerConsumerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/XRay/FDRProducerConsumerTest.cpp')
-rw-r--r--llvm/unittests/XRay/FDRProducerConsumerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/XRay/FDRProducerConsumerTest.cpp b/llvm/unittests/XRay/FDRProducerConsumerTest.cpp
index bbc15be0302..e1fa0e345d2 100644
--- a/llvm/unittests/XRay/FDRProducerConsumerTest.cpp
+++ b/llvm/unittests/XRay/FDRProducerConsumerTest.cpp
@@ -131,7 +131,7 @@ TYPED_TEST_P(RoundTripTest, RoundTripsSingleValue) {
this->OS.flush();
DataExtractor DE(this->Data, sys::IsLittleEndianHost, 8);
- uint32_t OffsetPtr = 0;
+ uint64_t OffsetPtr = 0;
auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr);
if (!HeaderOrErr)
FAIL() << HeaderOrErr.takeError();
@@ -172,7 +172,7 @@ TYPED_TEST_P(RoundTripTestV5, RoundTripsSingleValue) {
this->OS.flush();
DataExtractor DE(this->Data, sys::IsLittleEndianHost, 8);
- uint32_t OffsetPtr = 0;
+ uint64_t OffsetPtr = 0;
auto HeaderOrErr = readBinaryFormatHeader(DE, OffsetPtr);
if (!HeaderOrErr)
FAIL() << HeaderOrErr.takeError();
OpenPOWER on IntegriCloud