diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriterTemplates.C b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriterTemplates.C index 9a51faf49..911bca194 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriterTemplates.C +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriterTemplates.C @@ -148,7 +148,7 @@ void Foam::tecplotWriter::getTecplotNames varNames += " "; } - label nCmpts = pTraits::nComponents; + direction nCmpts = pTraits::nComponents; if (nCmpts == 1) {