From 460abe92875e8234375c9bbdec11cca94359c112 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 24 May 2007 13:23:24 +0000 Subject: [PATCH] Fix bug 15976: IOLS. Problem with dynamic_cast and dynamically loaded libraries. --- src/CONVERTOR/VISU_MedConvertor.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index fa6710bc..31cf0d9d 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1673,13 +1673,13 @@ VISU_MedConvertor const MED::TGeom2Gauss& aGeom2Gauss = aTimeStampInfo->GetGeom2Gauss(); if(aFieldInfo->GetType() == MED::eFLOAT64) - BuildTimeStampMinMax(aTimeStampValue, + BuildTimeStampMinMax(CastToFloatTimeStampValue(aTimeStampValue), aGeom2Gauss, aMinMaxArr, aNbComp, aNbComp2); else - BuildTimeStampMinMax(aTimeStampValue, + BuildTimeStampMinMax(CastToIntTimeStampValue(aTimeStampValue), aGeom2Gauss, aMinMaxArr, aNbComp, @@ -2859,12 +2859,12 @@ LoadValForTime(const MED::PWrapper& theMed, endl); if(aFieldInfo->GetType() == MED::eFLOAT64) - FillValForTime(aTimeStampValue, + FillValForTime(CastToFloatTimeStampValue(aTimeStampValue), aGeom2SubProfile, theValForTime, theField); else - FillValForTime(aTimeStampValue, + FillValForTime(CastToIntTimeStampValue(aTimeStampValue), aGeom2SubProfile, theValForTime, theField); -- 2.39.2