diff options
Diffstat (limited to 'src/profiling/test/ProfilingGuidTest.cpp')
-rw-r--r-- | src/profiling/test/ProfilingGuidTest.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/profiling/test/ProfilingGuidTest.cpp b/src/profiling/test/ProfilingGuidTest.cpp index 0537badc33..2e6b8c059a 100644 --- a/src/profiling/test/ProfilingGuidTest.cpp +++ b/src/profiling/test/ProfilingGuidTest.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2019 Arm Ltd. All rights reserved. +// Copyright © 2019-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -128,7 +128,7 @@ TEST_CASE("DynamicGuidGeneratorTest") { ProfilingGuidGenerator generator; - for (unsigned int i = 0; i < 100; ++i) + for (uint64_t i = 0; i < 100; ++i) { ProfilingDynamicGuid guid = generator.NextGuid(); CheckDynamicGuid(guid, i); @@ -157,7 +157,8 @@ TEST_CASE("ProfilingGuidThreadTest") }); uint64_t guid = profilingGuidGenerator.NextGuid(); - CHECK(guid == 3000u); + uint64_t expected = 3000U; + CHECK(guid == expected); } } |