Skip to content

Commit db313ec

Browse files
fix warn signed/unsigned cmp (#3218)
1 parent 7bea61b commit db313ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/crossroad_camera_demo/cpp/detection_person.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ struct PersonDetection : BaseDetection {
124124
resultsFetched = true;
125125
const float* detections = m_infer_request.get_output_tensor().data<float>();
126126
// pretty much regular SSD post-processing
127-
for (int i = 0; i < maxProposalCount; i++) {
127+
for (size_t i = 0; i < maxProposalCount; i++) {
128128
float image_id = detections[i * objectSize + 0]; // in case of batch
129129
if (image_id < 0) {
130130
// end of detections

0 commit comments

Comments
 (0)