From 094c3ced3ce79d36b593c57a93fac733f9358c9e Mon Sep 17 00:00:00 2001 From: gineshidalgo99 Date: Sat, 8 Jul 2017 22:51:02 -0400 Subject: [PATCH] Cleaned cast warning --- src/openpose/hand/handExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpose/hand/handExtractor.cpp b/src/openpose/hand/handExtractor.cpp index 6d188da6d..d4fda8031 100644 --- a/src/openpose/hand/handExtractor.cpp +++ b/src/openpose/hand/handExtractor.cpp @@ -165,7 +165,7 @@ namespace op // Set hand size const auto numberPeople = (int)handRectangles.size(); - mHandKeypoints[0].reset({numberPeople, HAND_NUMBER_PARTS, 3}, 0); + mHandKeypoints[0].reset({numberPeople, (int)HAND_NUMBER_PARTS, 3}, 0); mHandKeypoints[1].reset(mHandKeypoints[0].getSize(), 0); // // Debugging