From 27d29f0e695ebaaac1ee9d063e6699f8e54e5ba9 Mon Sep 17 00:00:00 2001 From: Charles Gueunet Date: Mon, 28 Aug 2023 09:42:07 +0200 Subject: [PATCH] Cast for type clarification --- .../vtkStaticPUnstructuredGridGhostCellsGenerator.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.cxx b/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.cxx index d1cb9b4..8ed24b8 100644 --- a/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.cxx +++ b/plugin/StaticMeshModule/vtkStaticPUnstructuredGridGhostCellsGenerator.cxx @@ -188,8 +188,9 @@ void vtkStaticPUnstructuredGridGhostCellsGenerator::ProcessGhostIds() { lengths[i] = remoteGhostPoints[i].size(); controller->NoBlockSend(&lengths[i], 1, i, SUGGCG_SIZE_EXCHANGE_TAG, pointSizeReqs[i]); - controller->NoBlockSend(&remoteGhostPoints[i][0], remoteGhostPoints[i].size(), i, - SUGGCG_DATA_EXCHANGE_TAG, pointIdsReqs[i]); + controller->NoBlockSend(&remoteGhostPoints[i][0], + static_cast(remoteGhostPoints[i].size()), i, SUGGCG_DATA_EXCHANGE_TAG, + pointIdsReqs[i]); } } -- GitLab