aboutsummaryrefslogtreecommitdiff
path: root/test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp')
-rw-r--r--test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp b/test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp
index 28d80450..c06bbf76 100644
--- a/test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp
+++ b/test_conformance/extensions/cl_khr_command_buffer/command_buffer_profiling.cpp
@@ -160,7 +160,7 @@ struct CommandBufferProfiling : public BasicCommandBufferTest
// verify the results by comparing timestamps
bool all_vals_0 = prof_params.front().value != 0;
- for (int i = 1; i < prof_params.size(); i++)
+ for (size_t i = 1; i < prof_params.size(); i++)
{
all_vals_0 = (prof_params[i].value != 0) ? false : all_vals_0;
if (prof_params[i - 1].value > prof_params[i].value)