Skip to content

Commit 03d26bd

Browse files
committed
Address unsigned/signed warning.
1 parent 030d124 commit 03d26bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cudaarithm/test/test_event.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ CUDA_TEST_P(AsyncEvent, Timing)
113113
{
114114
const std::vector<unsigned> eventFlags = { cv::cuda::Event::CreateFlags::BLOCKING_SYNC , cv::cuda::Event::CreateFlags::BLOCKING_SYNC | Event::CreateFlags::DISABLE_TIMING };
115115
const std::vector<bool> shouldFail = { false, true };
116-
for (int i = 0; i < eventFlags.size(); i++) {
116+
for (size_t i = 0; i < eventFlags.size(); i++) {
117117
const auto& flags = eventFlags.at(i);
118118
cv::cuda::Event startEvent = cv::cuda::Event(flags);
119119
cv::cuda::Event stopEvent = cv::cuda::Event(flags);

0 commit comments

Comments
 (0)