diff --git a/lib/flowViewport/sceneIndex/fvpWireframeSelectionHighlightSceneIndex.cpp b/lib/flowViewport/sceneIndex/fvpWireframeSelectionHighlightSceneIndex.cpp index 306eea36d1..63cb6e534e 100644 --- a/lib/flowViewport/sceneIndex/fvpWireframeSelectionHighlightSceneIndex.cpp +++ b/lib/flowViewport/sceneIndex/fvpWireframeSelectionHighlightSceneIndex.cpp @@ -36,6 +36,7 @@ #include #include +#include #include PXR_NAMESPACE_USING_DIRECTIVE @@ -618,7 +619,7 @@ WireframeSelectionHighlightSceneIndex::_TrimMeshForSelectedGeomSubsets(const HdC if (faceIndicesToKeep.find(iFaceCounts) != faceIndicesToKeep.end()) { trimmedFaceVertexCounts.push_back(currFaceCount); - for (size_t faceIndicesOffset = 0; faceIndicesOffset < currFaceCount; faceIndicesOffset++) { + for (int faceIndicesOffset = 0; faceIndicesOffset < currFaceCount; faceIndicesOffset++) { trimmedFaceVertexIndices.push_back(originalFaceVertexIndices[iFaceIndices + faceIndicesOffset]); } }